A wrapper for the asio::ip::tcp::socket and asio::ssl::stream.
More...
#include <socket_adaptors.h>
|
| SocketAdaptor (asio::io_context &io_context, context *) |
|
asio::io_context & | get_io_context () |
|
tcp::socket & | raw_socket () |
| Get the TCP socket handling data trasfers, regardless of what layer is handling transfers on top of the socket.
|
|
tcp::socket & | socket () |
| Get the object handling data transfers, this can be either a TCP socket or an SSL stream (if SSL is enabled).
|
|
tcp::endpoint | remote_endpoint () |
|
bool | is_open () |
|
void | close () |
|
void | shutdown_readwrite () |
|
void | shutdown_write () |
|
void | shutdown_read () |
|
template<typename F > |
void | start (F f) |
|
A wrapper for the asio::ip::tcp::socket and asio::ssl::stream.
The documentation for this struct was generated from the following file: