| Home | Libraries | People | FAQ | More

#### local::connect_pair (2 of 2 overloads)

Create a pair of connected sockets.

    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);