...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_socket_iostream< tcp > iostream;
Name |
Description |
---|---|
The clock type. |
|
The duration type. |
|
(Deprecated: Use duration.) The duration type. |
|
The endpoint type. |
|
The protocol type. |
|
The time type. |
|
(Deprecated: Use time_point.) The time type. |
Name |
Description |
---|---|
Construct a basic_socket_iostream without establishing a connection. Construct a basic_socket_iostream from the supplied socket. Move-construct a basic_socket_iostream from another. Establish a connection to an endpoint corresponding to a resolver query. |
|
Close the connection. |
|
Establish a connection to an endpoint corresponding to a resolver query. |
|
Get the last error associated with the stream. |
|
Set the stream's expiry time relative to now. |
|
(Deprecated: Use expiry().) Get the stream's expiry time as an absolute time. Set the stream's expiry time as an absolute time. |
|
(Deprecated: Use expiry().) Get the stream's expiry time relative to now. (Deprecated: Use expires_after().) Set the stream's expiry time relative to now. |
|
Get the stream's expiry time as an absolute time. |
|
Move-assign a basic_socket_iostream from another. |
|
Return a pointer to the underlying streambuf. |
|
Get a reference to the underlying socket. |
Header: boost/asio/ip/tcp.hpp
Convenience header: boost/asio.hpp