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

Click here to view the latest version of this page.
PrevUpHomeNext

local::connect_pair

Create a pair of connected sockets.

template<
    typename Protocol,
    typename SocketService1,
    typename SocketService2>
void connect_pair(
    basic_socket< Protocol, SocketService1 > & socket1,
    basic_socket< Protocol, SocketService2 > & socket2);

template<
    typename Protocol,
    typename SocketService1,
    typename SocketService2>
boost::system::error_code connect_pair(
    basic_socket< Protocol, SocketService1 > & socket1,
    basic_socket< Protocol, SocketService2 > & socket2,
    boost::system::error_code & ec);

PrevUpHomeNext