Home | Libraries | People | FAQ | More |
Describes an endpoint for any socket type.
template< typename Protocol> class basic_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. |
|
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/basic_endpoint.hpp
Convenience header: boost/asio.hpp