Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_stream::release_socket

Release ownership of the underlying socket.

Synopsis
socket_type
release_socket();
Description

This function causes all outstanding asynchronous connect, read, and write operations to be canceled as if by a call to basic_stream::cancel. Ownership of the underlying socket is then transferred to the caller.


PrevUpHomeNext