|
| | socket_acceptor_service (boost::asio::io_service &io_service) |
| | Construct a new socket acceptor service for the specified io_service. More...
|
| |
| void | construct (implementation_type &impl) |
| | Construct a new socket acceptor implementation. More...
|
| |
| void | destroy (implementation_type &impl) |
| | Destroy a socket acceptor implementation. More...
|
| |
| boost::system::error_code | open (implementation_type &impl, const protocol_type &protocol, boost::system::error_code &ec) |
| | Open a new socket acceptor implementation. More...
|
| |
| boost::system::error_code | assign (implementation_type &impl, const protocol_type &protocol, const native_handle_type &native_acceptor, boost::system::error_code &ec) |
| | Assign an existing native acceptor to a socket acceptor. More...
|
| |
| bool | is_open (const implementation_type &impl) const |
| | Determine whether the acceptor is open. More...
|
| |
| boost::system::error_code | cancel (implementation_type &impl, boost::system::error_code &ec) |
| | Cancel all asynchronous operations associated with the acceptor. More...
|
| |
| boost::system::error_code | bind (implementation_type &impl, const endpoint_type &endpoint, boost::system::error_code &ec) |
| | Bind the socket acceptor to the specified local endpoint. More...
|
| |
| boost::system::error_code | listen (implementation_type &impl, int backlog, boost::system::error_code &ec) |
| | Place the socket acceptor into the state where it will listen for new connections. More...
|
| |
| boost::system::error_code | close (implementation_type &impl, boost::system::error_code &ec) |
| | Close a socket acceptor implementation. More...
|
| |
| native_type | native (implementation_type &impl) |
| | (Deprecated: Use native_handle().) Get the native acceptor implementation. More...
|
| |
| native_handle_type | native_handle (implementation_type &impl) |
| | Get the native acceptor implementation. More...
|
| |
| template<typename SettableSocketOption > |
| boost::system::error_code | set_option (implementation_type &impl, const SettableSocketOption &option, boost::system::error_code &ec) |
| | Set a socket option. More...
|
| |
| template<typename GettableSocketOption > |
| boost::system::error_code | get_option (const implementation_type &impl, GettableSocketOption &option, boost::system::error_code &ec) const |
| | Get a socket option. More...
|
| |
| template<typename IoControlCommand > |
| boost::system::error_code | io_control (implementation_type &impl, IoControlCommand &command, boost::system::error_code &ec) |
| | Perform an IO control command on the socket. More...
|
| |
| bool | non_blocking (const implementation_type &impl) const |
| | Gets the non-blocking mode of the acceptor. More...
|
| |
| boost::system::error_code | non_blocking (implementation_type &impl, bool mode, boost::system::error_code &ec) |
| | Sets the non-blocking mode of the acceptor. More...
|
| |
| bool | native_non_blocking (const implementation_type &impl) const |
| | Gets the non-blocking mode of the native acceptor implementation. More...
|
| |
| boost::system::error_code | native_non_blocking (implementation_type &impl, bool mode, boost::system::error_code &ec) |
| | Sets the non-blocking mode of the native acceptor implementation. More...
|
| |
| endpoint_type | local_endpoint (const implementation_type &impl, boost::system::error_code &ec) const |
| | Get the local endpoint. More...
|
| |
| template<typename Protocol1 , typename SocketService > |
| boost::system::error_code | accept (implementation_type &impl, basic_socket< Protocol1, SocketService > &peer, endpoint_type *peer_endpoint, boost::system::error_code &ec, typename enable_if< is_convertible< Protocol, Protocol1 >::value >::type *=0) |
| | Accept a new connection. More...
|
| |
| template<typename Protocol1 , typename SocketService , typename AcceptHandler > |
| | BOOST_ASIO_INITFN_RESULT_TYPE (AcceptHandler, void(boost::system::error_code)) async_accept(implementation_type &impl |
| | Start an asynchronous accept. More...
|
| |
basic_socket< Protocol1,
SocketService > endpoint_type | BOOST_ASIO_MOVE_ARG (AcceptHandler) handler |
| |
| boost::asio::io_service & | get_io_service () |
| | Get the io_service object that owns the service. More...
|
| |
template<typename Protocol>
class boost::asio::socket_acceptor_service< Protocol >
Default service implementation for a socket acceptor.