...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. |
|
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. |
|
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. |
|
(Deprecated: use get_io_service().) Get the io_service object that owns the service. |
|
Determine whether the acceptor is open. |
|
Place the socket acceptor into the state where it will listen for new connections. |
|
Get the local endpoint. |
|
Get the native acceptor implementation. |
|
Open a new socket acceptor implementation. |
|
Set a socket option. |
|
Destroy all user-defined handler objects owned by the service. |
|
Construct a new socket acceptor service for the specified io_service. |
Name |
Description |
---|---|
The unique service identifier. |