io
C++ I/O scheduling library with asynchronous socket operations
Loading...
Searching...
No Matches
socket_ops.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 distributed on an "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
20#pragma once
21#ifndef IO_SOCKET_OPS_HPP
22#define IO_SOCKET_OPS_HPP
23namespace io::socket {
25struct accept_t {};
27struct bind_t {};
29struct connect_t {};
31struct fcntl_t {};
34struct getpeername_t {};
37struct getsockname_t {};
39struct getsockopt_t {};
41struct listen_t {};
43struct recvmsg_t {};
45struct sendmsg_t {};
47struct setsockopt_t {};
49struct shutdown_t {};
50} // namespace io::socket
51#endif // IO_ACCEPT_HPP
The io::socket namespace provides a cross-platform abstraction for socket-level I/O operations.
Definition socket.hpp:31
A tag type for the io::accept customization point object (CPO).
A tag type for the io::bind customization point object (CPO).
A tag type for the io::connect customization point object (CPO).
A tag type for the io::fcntl customization point object (CPO).
A tag type for the io::getpeername customization point object (CPO).
A tag type for the io::getsockname customization point object (CPO).
A tag type for the io::getsockopt customization point object (CPO).
A tag type for the io::listen customization point object (CPO).
A tag type for the io::recvmsg customization point object (CPO).
A tag type for the io::sendmsg customization point object (CPO).
A tag type for the io::setsockopt customization point object (CPO).
A tag type for the io::shutdown customization point object (CPO).