Default service implementation for a raw socket.
template< typename Protocol> class raw_socket_service : public io_service::service
Name |
Description |
---|---|
The endpoint type. |
|
The type of a raw socket. |
|
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 raw socket. |
|
Start an asynchronous connect. |
|
Start an asynchronous receive. |
|
Start an asynchronous receive that will get the endpoint of the sender. |
|
Start an asynchronous send. |
|
Start an asynchronous send. |
|
Determine whether the socket is at the out-of-band data mark. |
|
Determine the number of bytes available for reading. |
|
Cancel all asynchronous operations associated with the socket. |
|
Close a raw socket implementation. |
|
Connect the raw socket to the specified endpoint. |
|
Construct a new raw socket implementation. |
|
Move-construct a new raw socket implementation from another protocol type. |
|
Destroy a raw 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 raw socket implementation. |
|
Move-construct a new raw 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. |
|
Construct a new raw socket service for the specified io_service. |
|
Receive some data from the peer. |
|
Receive raw data with the endpoint of the sender. |
|
Get the remote endpoint. |
|
Send the given data to the peer. |
|
Send raw data to the specified endpoint. |
|
Set a socket option. |
|
Disable sends or receives on the socket. |
Name |
Description |
---|---|
The unique service identifier. |
Header: asio/raw_socket_service.hpp
Convenience header: asio.hpp