...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
basic_socket_streambuf * close();
this
if a connection was successfully established, a null
pointer otherwise.