...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Encapsulates the flags needed for TCP.
class tcp
Name |
Description |
---|---|
The TCP acceptor type. |
|
The type of a TCP endpoint. |
|
The TCP iostream type. |
|
Socket option for disabling the Nagle algorithm. |
|
The TCP resolver type. |
|
The type of a resolver iterator. |
|
The type of a resolver query. |
|
The TCP socket type. |
Name |
Description |
---|---|
Obtain an identifier for the protocol family. |
|
Obtain an identifier for the protocol. |
|
Obtain an identifier for the type of the protocol. |
|
Construct to represent the IPv4 TCP protocol. |
|
Construct to represent the IPv6 TCP protocol. |
Name |
Description |
---|---|
Compare two protocols for inequality. |
|
Compare two protocols for equality. |
The ip::tcp class contains flags necessary for TCP sockets.
Distinct objects: Safe.
Shared objects: Safe.