io
C++ I/O scheduling library with asynchronous socket operations
Loading...
Searching...
No Matches
io.hpp
Go to the documentation of this file.
1/* Copyright 2025 Kevin Exton
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is a "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
22#pragma once
23#ifndef IO_HPP
24#define IO_HPP
26#include "socket/socket_ops.hpp"
27
36namespace io {
65} // namespace io
66#endif // IO_HPP
This file defines generic customization points.
The io namespace contains all the functions and classes for the I/O library.
constexpr detail::cpo< socket::bind_t > bind
A customization point object for binding a socket to an address.
Definition io.hpp:38
constexpr detail::cpo< socket::recvmsg_t > recvmsg
A customization point object that receives a message from a socket.
Definition io.hpp:49
constexpr detail::cpo< socket::accept_t > accept
A customization point object that accepts an incoming connection on a listening socket.
Definition io.hpp:45
constexpr detail::cpo< socket::getsockname_t > getsockname
A customization point object that gets the local address of a socket.
Definition io.hpp:55
constexpr detail::cpo< socket::fcntl_t > fcntl
A customization point object that performs a file control operation on a socket.
Definition io.hpp:64
constexpr detail::cpo< socket::getpeername_t > getpeername
A customization point object that gets the peer address of a connected socket.
Definition io.hpp:58
constexpr detail::cpo< socket::shutdown_t > shutdown
A customization point object that shuts down all or part of a connection on a socket.
Definition io.hpp:61
constexpr detail::cpo< socket::connect_t > connect
A customization point object that connects a socket to an address.
Definition io.hpp:42
constexpr detail::cpo< socket::listen_t > listen
A customization point object for setting a socket to listen for.
Definition io.hpp:40
constexpr detail::cpo< socket::setsockopt_t > setsockopt
A customization point object that sets a socket option.
Definition io.hpp:53
constexpr detail::cpo< socket::sendmsg_t > sendmsg
A customization point object that sends a message on a socket.
Definition io.hpp:47
constexpr detail::cpo< socket::getsockopt_t > getsockopt
A customization point object that gets a socket option.
Definition io.hpp:51
This file defines the socket customization point operations.
A generic function object that implements customization points.