Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
test::stream::~stream

Destructor.

Synopsis
~stream();
Description

If an asynchronous read operation is pending, it will simply be discarded with no notification to the completion handler.

If a connection is established while the stream is destroyed, the peer will see the error boost::asio::error::connection_reset when performing any reads or writes.


PrevUpHomeNext