...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 sequenced packet socket.
template< typename Protocol> class seq_packet_socket_service : public io_service::service
Name |
Description |
---|---|
The endpoint type. |
|
The type of a sequenced packet socket implementation. |
|
The native socket type. |
|
(Deprecated: Use native_handle_type.) The native socket type. |
|
The protocol type. |
Name |
Description |
---|---|
Assign an existing native socket to a sequenced packet socket. |
|
Start an asynchronous connect. |
|
Start an asynchronous receive. |
|
Start an asynchronous send. |
|
Determine whether the socket is at the out-of-band data mark. |
|
Determine the number of bytes available for reading. |
|
Bind the sequenced packet socket to the specified local endpoint. |
|
Cancel all asynchronous operations associated with the socket. |
|
Close a sequenced packet socket implementation. |
|
Connect the sequenced packet socket to the specified endpoint. |
|
Construct a new sequenced packet socket implementation. |
|
Move-construct a new sequenced packet socket implementation from another protocol type. |
|
Destroy a sequenced packet socket 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 socket is open. |
|
Get the local endpoint. |
|
Move-assign from another sequenced packet socket implementation. |
|
Move-construct a new sequenced packet socket implementation. |
|
(Deprecated: Use native_handle().) Get the native socket implementation. |
|
Get the native socket implementation. |
|
Gets the non-blocking mode of the native socket implementation. Sets the non-blocking mode of the native socket implementation. |
|
Gets the non-blocking mode of the socket. Sets the non-blocking mode of the socket. |
|
Open a sequenced packet socket. |
|
Receive some data from the peer. |
|
Get the remote endpoint. |
|
Send the given data to the peer. |
|
Construct a new sequenced packet socket service for the specified io_service. |
|
Set a socket option. |
|
Disable sends or receives on the socket. |
Name |
Description |
---|---|
The unique service identifier. |
Header: boost/asio/seq_packet_socket_service.hpp
Convenience header: boost/asio.hpp