...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Iostream streambuf for a socket.
template< typename Protocol, typename Clock = chrono::steady_clock, typename WaitTraits = wait_traits<Clock>> class basic_socket_streambuf : basic_socket< Protocol >
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 |
---|---|
basic_socket_streambuf [constructor] |
Construct a basic_socket_streambuf without establishing a connection.
|
Close the connection. |
|
Establish a connection. |
|
Get the last error associated with the stream buffer. |
|
Set the stream buffer's expiry time relative to now. |
|
(Deprecated: Use expiry().) Get the stream buffer's expiry time
as an absolute time. |
|
(Deprecated: Use expiry().) Get the stream buffer's expiry time
relative to now. |
|
Get the stream buffer's expiry time as an absolute time. |
|
Move-assign a basic_socket_streambuf from another. |
|
(Deprecated: Use error().) Get the last error associated with the stream buffer. |
|
Get a reference to the underlying socket. |
|
~basic_socket_streambuf [destructor] |
Destructor flushes buffered data. |
Header: boost/asio/basic_socket_streambuf.hpp
Convenience header: boost/asio.hpp