Boost C++ Libraries/Boost.Asio
basic_socket::remote_endpoint 소켓의 원격 엔드포인트를 가져온다. [1 / 2 오버로드] endpoint_type remote_endpoint() const; [remote_endpoint] [2 / 2 오버로드] endpoint_type remote_endpoint( boost::system::error_code & ec) const; [remote_endpoint] Boost.Asio 홈
Boost C++ Libraries/Boost.Asio
basic_socket::release 기저 기본(native) 소켓의 소유권을 해제한다. [1 / 2 오버로드] native_handle_type release(); [release] [2 / 2 오버로드] native_handle_type release( boost::system::error_code & ec); [release] Boost.Asio 홈
Boost C++ Libraries/Boost.Asio
basic_socket::receive_low_watermark socket_base에서 상속된다. 로우 워터 마크 수신에 대한 소켓 옵션이다. typedef implementation_defined receive_low_watermark; SOL_SOCKET/SO_RCVLOWAT 소켓 옵션을 구현한다. 예 제 옵션 설정하기: boost::asio::ip::tcp::socket socket(my_context); ... boost::asio::socket_base::receive_low_watermark option(1024); socket.set_option(option); 현재 옵션 값 가져오기: boost::asio::ip::tcp::socket socket(my_context); ... boost..
Boost C++ Libraries/Boost.Asio
basic_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); ... boost::asio:..
Boost C++ Libraries/Boost.Asio
basic_socket::protocol_type 프로토콜 유형이다. typedef Protocol protocol_type; 요구 사항 일반 헤더: boost/asio/basic_socket.hpp 편의 헤더: boost/asio.hpp Boost.Asio 홈