Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

local::connect_pair

Create a pair of connected sockets.

template<
    typename Protocol>
void connect_pair(
    basic_socket< Protocol > & socket1,
    basic_socket< Protocol > & socket2);
  » more...

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

Header: boost/asio/local/connect_pair.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext