io
C++ I/O scheduling library with asynchronous socket operations
Loading...
Searching...
No Matches
Namespaces | Variables
io Namespace Reference

The io namespace contains all the functions and classes for the I/O library. More...

Namespaces

namespace  socket
 The io::socket namespace provides a cross-platform abstraction for socket-level I/O operations.
 

Variables

constexpr detail::cpo< socket::bind_tbind {}
 A customization point object for binding a socket to an address.
 
constexpr detail::cpo< socket::listen_tlisten {}
 A customization point object for setting a socket to listen for.
 
constexpr detail::cpo< socket::connect_tconnect {}
 A customization point object that connects a socket to an address.
 
constexpr detail::cpo< socket::accept_taccept {}
 A customization point object that accepts an incoming connection on a listening socket.
 
constexpr detail::cpo< socket::sendmsg_tsendmsg {}
 A customization point object that sends a message on a socket.
 
constexpr detail::cpo< socket::recvmsg_trecvmsg {}
 A customization point object that receives a message from a socket.
 
constexpr detail::cpo< socket::getsockopt_tgetsockopt {}
 A customization point object that gets a socket option.
 
constexpr detail::cpo< socket::setsockopt_tsetsockopt {}
 A customization point object that sets a socket option.
 
constexpr detail::cpo< socket::getsockname_tgetsockname {}
 A customization point object that gets the local address of a socket.
 
constexpr detail::cpo< socket::getpeername_tgetpeername {}
 A customization point object that gets the peer address of a connected socket.
 
constexpr detail::cpo< socket::shutdown_tshutdown {}
 A customization point object that shuts down all or part of a connection on a socket.
 
constexpr detail::cpo< socket::fcntl_tfcntl {}
 A customization point object that performs a file control operation on a socket.
 

Detailed Description

The io namespace contains all the functions and classes for the I/O library.

This namespace provides a set of customization point objects (CPOs) for various I/O operations. These CPOs are designed to be extensible and can be customized for different types of I/O objects.

Variable Documentation

◆ accept

constexpr detail::cpo<socket::accept_t> io::accept {}
inlineconstexpr

A customization point object that accepts an incoming connection on a listening socket.

Definition at line 45 of file io.hpp.

◆ bind

constexpr detail::cpo<socket::bind_t> io::bind {}
inlineconstexpr

A customization point object for binding a socket to an address.

Definition at line 38 of file io.hpp.

◆ connect

constexpr detail::cpo<socket::connect_t> io::connect {}
inlineconstexpr

A customization point object that connects a socket to an address.

Definition at line 42 of file io.hpp.

◆ fcntl

constexpr detail::cpo<socket::fcntl_t> io::fcntl {}
inlineconstexpr

A customization point object that performs a file control operation on a socket.

Definition at line 64 of file io.hpp.

◆ getpeername

constexpr detail::cpo<socket::getpeername_t> io::getpeername {}
inlineconstexpr

A customization point object that gets the peer address of a connected socket.

Definition at line 58 of file io.hpp.

◆ getsockname

constexpr detail::cpo<socket::getsockname_t> io::getsockname {}
inlineconstexpr

A customization point object that gets the local address of a socket.

Definition at line 55 of file io.hpp.

◆ getsockopt

constexpr detail::cpo<socket::getsockopt_t> io::getsockopt {}
inlineconstexpr

A customization point object that gets a socket option.

Definition at line 51 of file io.hpp.

◆ listen

constexpr detail::cpo<socket::listen_t> io::listen {}
inlineconstexpr

A customization point object for setting a socket to listen for.

Definition at line 40 of file io.hpp.

◆ recvmsg

constexpr detail::cpo<socket::recvmsg_t> io::recvmsg {}
inlineconstexpr

A customization point object that receives a message from a socket.

Definition at line 49 of file io.hpp.

◆ sendmsg

constexpr detail::cpo<socket::sendmsg_t> io::sendmsg {}
inlineconstexpr

A customization point object that sends a message on a socket.

Definition at line 47 of file io.hpp.

◆ setsockopt

constexpr detail::cpo<socket::setsockopt_t> io::setsockopt {}
inlineconstexpr

A customization point object that sets a socket option.

Definition at line 53 of file io.hpp.

◆ shutdown

constexpr detail::cpo<socket::shutdown_t> io::shutdown {}
inlineconstexpr

A customization point object that shuts down all or part of a connection on a socket.

Definition at line 61 of file io.hpp.