Boost C++ Libraries/Boost.Asio
2021.02.24
basic_datagram_socket::receive_from 송신기의 엔드포인트에서 데이터 그램을 수신한다. [1 / 3 오버로드] template std::size_t receive_from( const MutableBufferSequence & buffers, endpoint_type & sender_endpoint); [MutableBufferSequence, receive_from] [2 / 3 오버로드] template std::size_t receive_from( const MutableBufferSequence & buffers, endpoint_type & sender_..
Boost C++ Libraries/Boost.Asio
2021.02.24
basic_datagram_socket::receive_buffer_size socket_base에서 상속된다. 소켓의 수신 버퍼 크기에 대한 소켓 옵션이다. typedef implementation_defined receive_buffer_size; SOL_SOCKET/SO_RCVBUF 소켓 옵션을 구현한다. 예 제 옵션 설정하기: boost::asio::ip::tcp::socket socket(my_context); ... boost::asio::socket_base::receive_buffer_size option(8192); socket.set_option(option); 현재 옵션 값 가져오기: boost::asio::ip::tcp::socket socket(my_context); ... boo..
Boost C++ Libraries/Boost.Asio
2021.02.24
basic_datagram_socket::receive 연결된 소켓에서 일부 데이터를 수신한다. [1 / 3 오버로드] template std::size_t receive( const MutableBufferSequence & buffers); [MutableBufferSequence, receive] [2 / 3 오버로드] template std::size_t receive( const MutableBufferSequence & buffers, socket_base::message_flags flags); [MutableBufferSequence, receive] [3 / 3 오버로드]..
Boost C++ Libraries/Boost.Asio
2021.02.23
basic_datagram_socket::protocol_type 프로토콜 유형이다. typedef Protocol protocol_type; 요구 사항 일반 헤더: boost/asio/basic_datagram_socket.hpp 편의 헤더: boost/asio.hpp Boost.Asio 홈
Boost C++ Libraries/Boost.Asio
2021.02.16
basic_datagram_socket::operator= [1 / 2 오버로드] 다른 basic_datagram_socket에서 이동 할당한다. basic_datagram_socket & operator=( basic_datagram_socket && other); [operator=] [2 / 2 오버로드] 다른 프로토콜 유형의 소켓에서 basic_datagram_socket을 이동 할당한다. template enable_if::value &&is_convertible::value, basic_datagram_socke..