boost::corosio

Types

Name

Description

acceptor

consuming_buffers

Wrapper for consuming a buffer sequence incrementally.

consuming_buffers

Wrapper for consuming a buffer sequence incrementally.

endpoint

An IP endpoint (address + port) supporting both IPv4 and IPv6.

io_buffer_param

A type‐erased buffer sequence for I/O system call boundaries.

io_context

An I/O context for running asynchronous operations.

io_object

Base class for I/O objects in the library hierarchy.

io_result<>

Result type for void operations.

io_result

Result type for asynchronous I/O operations.

io_result<std::size_t>

Result type for byte transfer operations.

io_result<T>

Result type for operations returning a single value.

io_result<T, U, Args...>

Result type for operations returning multiple values.

io_stream

resolver

An asynchronous DNS resolver for coroutine I/O.

resolver_entry

A single entry produced by a resolver.

resolver_results

A range of entries produced by a resolver.

socket

An asynchronous TCP socket for coroutine I/O.

Enums

Name

Description

resolve_flags

Bitmask flags for resolver queries.

Functions

Name

Description

begin

end

operator&

Intersect two resolve_flags.

operator&=

Intersect two resolve_flags.

operator|

Combine two resolve_flags.

operator|=

Combine two resolve_flags.

read

read overloads

write

Write to a stream until the buffer is empty or an error occurs.

operator==

Equality operators

operator!=

Inequality operators

Created with MrDocs