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 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. |
|
v4 [static] |
Construct to represent the IPv4 TCP protocol. |
v6 [static] |
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.
Header: boost/asio/ip/tcp.hpp
Convenience header: boost/asio.hpp