...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Describes an endpoint for a UNIX socket.
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. Construct an endpoint using the specified path name. Copy 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 path associated with the endpoint. Set the path associated with the 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 two endpoints for equality. |
Name |
Description |
---|---|
Output an endpoint as a string. |
The local::basic_endpoint class template describes an endpoint that may be associated with a particular UNIX socket.
Distinct objects: Safe.
Shared objects: Unsafe.