boost::corosio
Type‐erased socket option types that avoid platform‐specific headers. The protocol level and option name for each type are resolved at link time via the compiled library.
Description
For an inline (zero‐overhead) alternative that includes platform headers, use <boost/corosio/native/native_socket_option.hpp> (boost::corosio::native_socket_option).
Both variants satisfy the same option‐type interface and work interchangeably with tcp_socket::set_option / tcp_socket::get_option and the corresponding acceptor methods.
Namespaces
Name |
Description |
Type‐erased socket option types that avoid platform‐specific headers. The protocol level and option name for each type are resolved at link time via the compiled library. |
Types
Name |
Description |
A type‐erased buffer sequence for I/O system call boundaries. |
|
An IP endpoint (address + port) supporting both IPv4 and IPv6. |
|
Backend tag for the Linux epoll I/O multiplexer. |
|
Common definitions for file I/O objects. |
|
An I/O context for running asynchronous operations. |
|
Runtime tuning options for |
|
Base class for platform I/O objects. |
|
Abstract base for streams that support async reads. |
|
Abstract base for asynchronous signal sets. |
|
Platform stream with read/write operations. |
|
Abstract base for asynchronous timers. |
|
Abstract base for streams that support async writes. |
|
Backend tag for the Windows I/O Completion Ports multiplexer. |
|
An IP version 4 style address. |
|
An IP version 6 style address. |
|
Backend tag for the BSD kqueue I/O multiplexer. |
|
An asynchronous Unix datagram socket for coroutine I/O. |
|
A Unix domain socket endpoint (filesystem path). |
|
Encapsulate the Unix stream protocol for socket creation. |
|
An asynchronous Unix stream acceptor for coroutine I/O. |
|
An asynchronous Unix stream socket for coroutine I/O. |
|
An I/O context with devirtualized event loop methods. |
|
An asynchronous DNS resolver with devirtualized operations. |
|
An asynchronous signal set with devirtualized wait operations. |
|
An asynchronous TCP acceptor with devirtualized accept operations. |
|
An asynchronous TCP socket with devirtualized I/O operations. |
|
An asynchronous timer with devirtualized wait operations. |
|
A TLS stream using OpenSSL. |
|
An asynchronous random‐access file for coroutine I/O. |
|
An asynchronous DNS resolver for coroutine I/O. |
|
A single entry produced by a resolver. |
|
A range of entries produced by a resolver. |
|
The result of a reverse DNS resolution. |
|
Backend tag for the portable select() I/O multiplexer. |
|
An asynchronous signal set for coroutine I/O. |
|
An asynchronous sequential file for coroutine I/O. |
|
Encapsulate the TCP protocol for socket creation. |
|
An asynchronous TCP acceptor for coroutine I/O. |
|
TCP server with pooled workers. |
|
An asynchronous TCP socket for coroutine I/O. |
|
An asynchronous timer for coroutine I/O. |
|
Abstract base class for TLS streams. |
|
Encapsulate the UDP protocol for socket creation. |
|
An asynchronous UDP socket for coroutine I/O. |
|
A TLS stream using WolfSSL. |
|
Enums
Name |
Description |
Options for |
|
Endpoint format detection result. |
|
Flags for datagram send/recv operations. |
|
Bitmask flags for resolver queries. |
|
Bitmask flags for reverse resolver queries. |
|
Different ways a socket may be shutdown. |
|
Certificate and key file format. |
|
Purpose for password callback invocation. |
|
Certificate revocation checking policy. |
|
TLS handshake role. |
|
Peer certificate verification mode. |
|
TLS protocol version. |
Functions
Name |
Description |
Cancel an operation if it does not complete within a duration. |
|
Cancel an operation if it does not complete by a deadline. |
|
Detect the format of an endpoint string. |
|
Create a connected pair of local datagram sockets. |
|
Create a connected pair of local stream sockets. |
|
Bitwise conjunction operators |
|
Bitwise conjunction assignment operators |
|
Bitwise disjunction operators |
|
Bitwise disjunction assignment operators |
|
Bitwise negation operators |
|
Parse an endpoint from a string. |
|
Return an IPv4 address from an IP address string in dotted decimal form. |
|
Parse a string containing an IPv6 address. |
|
Stream insertion operators |
|
Equality operators |
|
Inequality operators |
|
Lexicographic ordering on stored path bytes. |
See Also
native_socket_option
Created with MrDocs