...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Default service implementation for a socket acceptor.
template< typename Protocol> class socket_acceptor_service : public io_service::service
Name |
Description |
---|---|
The endpoint type. |
|
The native type of the socket acceptor. |
|
The native acceptor type. |
|
(Deprecated: Use native_handle_type.) The native acceptor type. |
|
The protocol type. |
Name |
Description |
---|---|
Accept a new connection. |
|
Assign an existing native acceptor to a socket acceptor. |
|
Start an asynchronous accept. |
|
Bind the socket acceptor to the specified local endpoint. |
|
Cancel all asynchronous operations associated with the acceptor. |
|
Close a socket acceptor implementation. |
|
Construct a new socket acceptor implementation. |
|
Move-construct a new socket acceptor implementation from another protocol type. |
|
Destroy a socket acceptor implementation. |
|
Get the io_service object that owns the service. |
|
Get a socket option. |
|
Perform an IO control command on the socket. |
|
Determine whether the acceptor is open. |
|
Place the socket acceptor into the state where it will listen for new connections. |
|
Get the local endpoint. |
|
Move-assign from another socket acceptor implementation. |
|
Move-construct a new socket acceptor implementation. |
|
(Deprecated: Use native_handle().) Get the native acceptor implementation. |
|
Get the native acceptor implementation. |
|
Gets the non-blocking mode of the native acceptor implementation. Sets the non-blocking mode of the native acceptor implementation. |
|
Gets the non-blocking mode of the acceptor. Sets the non-blocking mode of the acceptor. |
|
Open a new socket acceptor implementation. |
|
Set a socket option. |
|
Construct a new socket acceptor service for the specified io_service. |
Name |
Description |
---|---|
The unique service identifier. |
Header: boost/asio/socket_acceptor_service.hpp
Convenience header: boost/asio.hpp