Home | Libraries | People | FAQ | More |
Default service implementation for a stream socket.
template< typename Protocol> class stream_socket_service : public io_service::service
Name |
Description |
---|---|
The endpoint type. |
|
The type of a stream 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 stream 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 stream socket to the specified local endpoint. |
|
Cancel all asynchronous operations associated with the socket. |
|
Close a stream socket implementation. |
|
Connect the stream socket to the specified endpoint. |
|
Construct a new stream socket implementation. |
|
Move-construct a new stream socket implementation from another protocol type. |
|
Destroy a stream 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 stream socket implementation. |
|
Move-construct a new stream 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 stream socket. |
|
Receive some data from the peer. |
|
Get the remote endpoint. |
|
Send the given data to the peer. |
|
Set a socket option. |
|
Disable sends or receives on the socket. |
|
Construct a new stream socket service for the specified io_service. |
Name |
Description |
---|---|
The unique service identifier. |
Header: boost/asio/stream_socket_service.hpp
Convenience header: boost/asio.hpp