...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 duration type. |
|
The endpoint type. |
|
The time type. |
Name |
Description |
---|---|
Construct a basic_socket_iostream without establishing a connection. 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. |
|
Get the stream's expiry time as an absolute time. Set the stream's expiry time as an absolute time. |
|
Get the timer's expiry time relative to now. Set the stream's expiry time relative to now. |
|
Return a pointer to the underlying streambuf. |
Header: boost/asio/ip/tcp.hpp
Convenience header: boost/asio.hpp