...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
typedef basic_endpoint< tcp > endpoint;
Name |
Description |
---|---|
The type of the endpoint structure. This type is dependent on the underlying implementation of the socket layer. |
|
The protocol type associated with the endpoint. |
Name |
Description |
---|---|
Get the IP address associated with the endpoint. |
|
Default constructor. |
|
Get the capacity of the endpoint in the native type. |
|
Get the underlying endpoint in the native type. |
|
Assign from another endpoint. |
|
Get the port associated with the endpoint. The port number is
always in the host's byte order. |
|
The protocol associated with the endpoint. |
|
Set the underlying size of the endpoint in the native type. |
|
Get the underlying size of the endpoint in the native type. |
Name |
Description |
---|---|
Compare two endpoints for inequality. |
|
Compare endpoints for ordering. |
|
Compare endpoints for ordering. |
|
Compare two endpoints for equality. |
|
Compare endpoints for ordering. |
|
Compare endpoints for ordering. |
Name |
Description |
---|---|
Output an endpoint as a string. |
The ip::basic_endpoint
class template describes an endpoint that may be associated with a particular
socket.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/ip/tcp.hpp
Convenience header: boost/asio.hpp