构造一个 basic_raw_socket
,但不打开它。
explicit basic_raw_socket( const executor_type & ex); » more... template< typename ExecutionContext> explicit basic_raw_socket( ExecutionContext & context, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value > = 0); » more...
构造并打开一个 basic_raw_socket
。
basic_raw_socket( const executor_type & ex, const protocol_type & protocol); » more... template< typename ExecutionContext> basic_raw_socket( ExecutionContext & context, const protocol_type & protocol, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint()); » more...
构造一个 basic_raw_socket
,打开它并将其绑定到给定的本地端点。
basic_raw_socket( const executor_type & ex, const endpoint_type & endpoint); » more... template< typename ExecutionContext> basic_raw_socket( ExecutionContext & context, const endpoint_type & endpoint, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value > = 0); » more...
在现有的本机套接字上构造一个 basic_raw_socket
。
basic_raw_socket( const executor_type & ex, const protocol_type & protocol, const native_handle_type & native_socket); » more... template< typename ExecutionContext> basic_raw_socket( ExecutionContext & context, const protocol_type & protocol, const native_handle_type & native_socket, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value > = 0); » more...
从另一个套接字移动构造一个 basic_raw_socket
。
basic_raw_socket( basic_raw_socket && other); » more...
从另一种协议类型的套接字移动构造一个 basic_raw_socket
。
template< typename Protocol1, typename Executor1> basic_raw_socket( basic_raw_socket< Protocol1, Executor1 > && other, constraint_t< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value > = 0); » more...