|
AsyncBerkeley
Asynchronous Berkeley sockets. Simple.
|
The io::socket namespace provides a cross-platform abstraction for socket-level I/O operations.
More...
Classes | |
| class | message_buffer |
| A container for managing buffers for scatter-gather I/O operations. More... | |
| struct | message_header |
| Represents the header of a socket message. More... | |
| struct | socket_address |
| Represents a platform-independent socket address. More... | |
| struct | socket_dialog |
| A dialog that facilitates asynchronous operations on the socket by the executor. More... | |
| class | socket_handle |
| A thread-safe, move-only RAII wrapper for a native socket handle. More... | |
| struct | socket_message |
| Represents a complete socket message. More... | |
| class | socket_option |
| A generic wrapper for socket options. More... | |
Functions | |
| template<SocketAddress Addr = sockaddr_storage_type> | |
| auto | make_address (const Addr *addr=nullptr) -> socket_address< Addr > |
Creates a socket_address from a socket address structure. | |
The io::socket namespace provides a cross-platform abstraction for socket-level I/O operations.
| auto io::socket::make_address | ( | const Addr * | addr = nullptr | ) | -> socket_address<Addr> |
Creates a socket_address from a socket address structure.
| SockAddr | The type of the socket address structure. |
| addr | A pointer to the socket address structure. |
socket_address object.