boost::corosio
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 |
Erases a buffer sequence to the pointer and length a system call takes. |
|
Suspends the calling coroutine until |
|
Suspends the calling coroutine until the deadline elapses or the environment's stop token is activated, whichever comes first. A deadline already elapsed at suspension, or a stop token already active, resumes the coroutine inline, without starting a timer (see Cancellation below). Otherwise the coroutine resumes through the executor once the timer fires or a mid‐wait cancellation arrives. |
|
Pairs an IP address with a port for either IPv4 or IPv6. |
|
The name of an endpoint. |
|
Selects the Linux epoll I/O multiplexer as the backend. |
|
Groups the flag and seek‐origin constants shared by |
|
Runs asynchronous operations and owns the I/O backend that drives them. |
|
Configures scheduler and reactor tuning for an |
|
Owns the platform‐specific handle and execution context that a derived socket, timer, signal handler, or acceptor type uses to dispatch operations. |
|
Reads bytes from a stream asynchronously. |
|
Delivers a registered signal to the waiting coroutine. |
|
Reads and writes bytes through a platform I/O backend. |
|
Writes bytes to a stream asynchronously. |
|
Selects the Windows I/O Completion Ports multiplexer as the backend. |
|
A version‐independent IP address. |
|
Stores and parses an IP version 4 address. |
|
An IP version 6 style address. |
|
Selects the BSD kqueue I/O multiplexer as the backend. |
|
Sends and receives datagrams over a Unix domain socket, from a coroutine. |
|
Holds the filesystem path that names a Unix domain socket. |
|
Accepts inbound Unix domain stream connections, from a coroutine. |
|
Reads and writes a Unix domain stream, from a coroutine. |
|
Runs asynchronous operations, calling the backend event loop directly. |
|
Sends and receives Unix domain datagrams, calling the backend directly. |
|
Accepts Unix domain stream connections, calling the backend directly. |
|
Reads and writes a Unix domain stream, calling the backend directly. |
|
Drives an already‐open POSIX descriptor, calling the backend directly. |
|
Reads and writes a file at arbitrary offsets, calling the backend directly. |
|
Resolves host names to endpoints, calling the backend directly. |
|
Waits for a registered signal, calling the backend directly. |
|
Reads and writes a file sequentially, calling the backend directly. |
|
Accepts TCP connections, calling the backend directly. |
|
Connects, reads, and writes over TCP, calling the backend directly. |
|
Sends and receives UDP datagrams, calling the backend directly. |
|
Encrypts and decrypts a stream using OpenSSL. |
|
Drives an already‐open POSIX descriptor from an |
|
Reads and writes a file at arbitrary offsets, from a coroutine. |
|
Resolves host names and services to endpoints, from a coroutine. |
|
Selects the portable select() I/O multiplexer as the backend. |
|
Waits from a coroutine for one of a registered set of signals. |
|
Reads and writes a file sequentially, from a coroutine. |
|
Accepts inbound TCP connections, from a coroutine. |
|
Manages a pool of reusable workers that handle incoming TCP connections. |
|
Connects, reads, and writes over TCP, from a coroutine. |
|
Configures the certificates, keys, and protocol settings a TLS stream uses. |
|
Reads, writes, and manages the handshake lifecycle of a TLS session over an underlying stream. |
|
Sends and receives datagrams over UDP, from a coroutine. |
|
Selects the Linux io_uring proactor as the backend. |
|
Exposes the certificate and error state to a verification callback. |
|
Controls how much of the remaining time a single underlying steady‐clock wait may cover before |
|
Encrypts and decrypts a stream using WolfSSL. |
Type Aliases
Name |
Description |
Represent a platform‐specific socket descriptor ( |
Enums
Name |
Description |
Controls whether |
|
Identifies which of the four supported endpoint string formats a string is in. |
|
The address family of an IP socket or address. |
|
Selects which internal locks the scheduler and reactor elide, trading thread‐safety guarantees for reduced synchronization overhead. |
|
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. |
|
Direction selector for socket and acceptor wait() operations. |
Functions
Name |
Description |
|
|
|
|
|
|
Detect the format of an endpoint string. |
|
Return the local machine's hostname. |
|
Create an endpoint from a string. |
|
Create an IP address from a string. |
|
Create an IPv4 address from an IP address string in dotted decimal form. |
|
Create an IPv6 address from a string. |
|
Return the error category for raw OpenSSL errors. |
|
Bitwise conjunction operators |
|
Bitwise conjunction assignment operators |
|
Stream insertion operators |
|
Three‐way comparison operators |
|
Equality operators |
|
Bitwise disjunction operators |
|
Bitwise disjunction assignment operators |
|
Bitwise negation operators |
|
|
|
Return the error category for raw WolfSSL errors. |
|
Report whether this WolfSSL build can negotiate ALPN. |
|
Report whether this WolfSSL build can check certificate revocation. |
|
Report whether this WolfSSL build can verify IP‐literal hostnames. |
|
Report whether this build's WolfSSL can honor a verify callback. |
Variables
Name |
Description |
Tag value for selecting the epoll backend. |
|
Tag value for selecting the IOCP backend. |
|
Tag value for selecting the kqueue backend. |
|
Tag value for selecting the select backend. |
|
Tag value for selecting the io_uring backend. |
Concepts
Name |
Description |
Concept for wait‐traits policies usable with |
Created with MrDocs