...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< seq_packet_protocol > 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 |
---|---|
Default constructor. Construct an endpoint from the specified socket address. Construct an endpoint from the specific endpoint type. Copy constructor. |
|
Get the capacity of the endpoint in the native type. |
|
Get the underlying endpoint in the native type. |
|
Assign from another endpoint. |
|
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. |
The generic::basic_endpoint
class template
describes an endpoint that may be associated with any socket type.
The socket types sockaddr type must be able to fit into a sockaddr_storage
structure.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/generic/seq_packet_protocol.hpp
Convenience header: boost/asio.hpp