Namespaces
Variants
Views
Actions

Extensions for networking

From cppreference.com

The C++ Extensions for Networking, ISO/IEC TS 19216:XXXX, defines new components for the C++ standard library listed on this page.

The Networking TS is based on the C++14 standard as modified by version 1 of the Library Fundamentals TS. Its design is based on the Asio library.

Contents

[edit] Library named requirements

The following named requirements are used in the normative text of the Networking TS to define the expectations of the library. The burden is on the programmer to ensure that library templates are instantiated with template arguments that satisfy these requirements. Failure to do so may result in very complex compiler diagnostics or in undefined behavior at runtime.


(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]
represents a set of memory regions that may be used as input to an operation
(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

(named requirement)[edit]

[edit] Convenience headers

<experimental/net> Convenience header that includes every other Networking TS header
<experimental/netfwd> Contains forward declarations of major Networking TS components

[edit] Asynchronous model

Defined in header <experimental/executor>
Defined in namespace std::experimental::net
Asynchronous result

(class template) [edit]

(class template) [edit]

(class template) [edit]

(function template) [edit]
Execution context and services

(class) [edit]

(function template) [edit]

(function template) [edit]

(function template) [edit]

(class) [edit]
Executors

(class template) [edit]

(class) [edit]

(class template) [edit]

(class template) [edit]

(function template) [edit]

(class template) [edit]

(function template) [edit]

(class template) [edit]

(class) [edit]

(class) [edit]

(class) [edit]

(class) [edit]
Dispatch/post/defer

(function template) [edit]

(function template) [edit]

(function template) [edit]
Strand

(class template) [edit]
std::future interop

(class template) [edit]

[edit] Basic I/O services

Defined in header <experimental/io_context>
Defined in namespace std::experimental::net

(class) [edit]

[edit] Buffers and buffer-oriented streams

Defined in header <experimental/buffer>
Defined in namespace std::experimental::net
Stream error codes

(function) [edit]

(enum) [edit]
Buffers

(class) [edit]

(class) [edit]

(function template) [edit]
Buffer type traits

(class template) [edit]

(class template) [edit]

(class template) [edit]
Buffer sequence access

(function template) [edit]

(function template) [edit]
Buffer operations

(function template) [edit]

(function template) [edit]
Dynamic buffers

(class template) [edit]

(class template) [edit]

(function template) [edit]
Buffer I/O

(class) [edit]

(class) [edit]

(class) [edit]

(function template) [edit]

(function template) [edit]

(function template) [edit]

(function template) [edit]

(function template) [edit]

(function template) [edit]

[edit] Sockets and socket streams

Defined in header <experimental/socket>
Defined in namespace std::experimental::net
Socket error codes

(enum) [edit]

(function) [edit]
Sockets

(class) [edit]

(class template) [edit]

(class template) [edit]

(class template) [edit]

(class template) [edit]
Socket streams

(class template) [edit]

(class template) [edit]
Connect operations

(function template) [edit]

(function template) [edit]

[edit] Internet protocol

Defined in header <experimental/internet>
Defined in namespace std::experimental::net::ip
Resolver error codes

(enum) [edit]

(function) [edit]
IP addresses

(class) [edit]

(function template) [edit]

(class) [edit]

(function template) [edit]

(class) [edit]

(class) [edit]

(function template) [edit]
Address iteration

(class template) [edit]

(class template) [edit]
Networks

(class) [edit]

(function template) [edit]

(class) [edit]

(function template) [edit]
Endpoints

(class template) [edit]
Name resolution

(class template) [edit]

(class template) [edit]

(class) [edit]

(class template) [edit]
Host name

(function template) [edit]
TCP and UDP sockets

(class) [edit]

(class) [edit]
Socket options
Defined in namespace std::experimental::net::ip

(class) [edit]
Defined in namespace std::experimental::net::ip::unicast

(class) [edit]
Defined in namespace std::experimental::net::ip::multicast

(class) [edit]

(class) [edit]

(class) [edit]

(class) [edit]

(class) [edit]