728x90
반응형
basic_socket::basic_socket
basic_socket을 열지 않고 생성하는 생성자(constructor)
explicit basic_socket( const executor_type & ex);
template< typename ExecutionContext> explicit basic_socket( ExecutionContext & context, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
basic_socket을 열어서 생성하는 생성자(constructor)
basic_socket( const executor_type & ex, const protocol_type & protocol);
template< typename ExecutionContext> basic_socket( ExecutionContext & context, const protocol_type & protocol, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
basic_socket을 열고 주어진 로컬 엔드포인트와 바인딩하여 basic_socket을 생성하는 생성자(constructor)
basic_socket( const executor_type & ex, const endpoint_type & endpoint);
template< typename ExecutionContext> basic_socket( ExecutionContext & context, const endpoint_type & endpoint, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
basic_socket을 주어진 기본(native) 소켓으로 생성하는 생성자(constructor)
basic_socket( const executor_type & ex, const protocol_type & protocol, const native_handle_type & native_socket);
template< typename ExecutionContext> basic_socket( ExecutionContext & context, const protocol_type & protocol, const native_handle_type & native_socket, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
다른 basic_socket으로 basic_socket을 이동 생성하는 이동-생성자(move constructor)
basic_socket( basic_socket && other);
다른 프로토콜 유형의 소켓에서 basic_socket을 이동 생성하는 이동-생성자(move constructor)
template< typename Protocol1, typename Executor1> basic_socket( basic_socket< Protocol1, Executor1 > && other, typename enable_if< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >::type * = 0);
728x90
반응형
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_socket_iostream::basic_socket_iostream (0) | 2021.01.12 |
---|---|
Boost.Asio 색인 - basic_socket_acceptor::basic_socket_acceptor (0) | 2021.01.12 |
Boost.Asio 색인 - basic_signal_set::basic_signal_set (0) | 2021.01.11 |
Boost.Asio 색인 - basic_serial_port::basic_serial_port (0) | 2021.01.11 |
Boost.Asio 색인 - basic_seq_packet_socket::basic_seq_packet_socket (0) | 2021.01.11 |