asio C++ library

PrevUpHomeNext

local::connect_pair (2 of 2 overloads)

Create a pair of connected sockets.

template<
    typename Protocol,
    typename Executor1,
    typename Executor2>
void connect_pair(
    basic_socket< Protocol, Executor1 > & socket1,
    basic_socket< Protocol, Executor2 > & socket2,
    asio::error_code & ec);

PrevUpHomeNext