Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

local::connect_pair

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);
  » more...

template<
    typename Protocol,
    typename Executor1,
    typename Executor2>
void connect_pair(
    basic_socket< Protocol, Executor1 > & socket1,
    basic_socket< Protocol, Executor2 > & socket2,
    boost::system::error_code & ec);
  » more...
Requirements

Header: boost/asio/local/connect_pair.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext