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
Create a pair of connected sockets.
template<
typename Protocol>
void connect_pair(
basic_socket< Protocol > & socket1,
basic_socket< Protocol > & socket2,
boost::system::error_code & ec);