| AsyncBerkeley
    Asynchronous Berkeley sockets. Simple. | 
This file defines generic customization points. More...
#include <span>#include <utility>Go to the source code of this file.
| Namespaces | |
| namespace | io | 
| The ionamespace contains all the functions and classes for the I/O library. | |
| Functions | |
| auto | io::accept (auto &&socket, std::span< std::byte > address={}) -> decltype(auto) | 
| Accepts an incoming connection on a listening socket. | |
| auto | io::bind (auto &&socket, std::span< const std::byte > address) -> decltype(auto) | 
| Binds a socket to a local address. | |
| auto | io::connect (auto &&socket, std::span< const std::byte > address) -> decltype(auto) | 
| Connects a socket to a remote address. | |
| auto | io::fcntl (auto &&socket, int cmd, auto &&...args) -> decltype(auto) | 
| Performs a file control operation on a socket. | |
| auto | io::getpeername (auto &&socket, std::span< std::byte > address) -> decltype(auto) | 
| Gets the peer address of a connected socket. | |
| auto | io::getsockopt (auto &&socket, int level, int optname, std::span< std::byte > option) -> decltype(auto) | 
| Gets a socket option. | |
| auto | io::getsockname (auto &&socket, std::span< std::byte > address) -> decltype(auto) | 
| Gets the local address of a socket. | |
| auto | io::listen (auto &&socket, int backlog) -> decltype(auto) | 
| Sets a socket to listen for incoming connections. | |
| auto | io::recvmsg (auto &&socket, auto &&msg, int flags) -> decltype(auto) | 
| Receives a message from a socket. | |
| auto | io::sendmsg (auto &&socket, auto &&msg, int flags) -> decltype(auto) | 
| Sends a message on a socket. | |
| auto | io::setsockopt (auto &&socket, int level, int optname, std::span< const std::byte > option) -> decltype(auto) | 
| Sets a socket option. | |
| auto | io::shutdown (auto &&socket, int how) -> decltype(auto) | 
| Shuts down all or part of a connection on a socket. | |
This file defines generic customization points.