| Home | Libraries | People | FAQ | More

##### test::basic_stream::~basic_stream

Destructor.

###### Synopsis

    ~basic_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 `net::error::connection_reset` when performing any reads or writes.