boost::corosio::connect_pair

connect_pair overloads

Synopses

Synchronously connect two AF_UNIX datagram sockets as a connected pair.

std::error_code
connect_pair(
    local_datagram_socket& a,
    local_datagram_socket& b) noexcept;

Synchronously connect two AF_UNIX stream sockets as a connected pair.

std::error_code
connect_pair(
    local_stream_socket& a,
    local_stream_socket& b) noexcept;

Return Value

Empty on success; otherwise the underlying system error.

Parameters

Name

Description

a

First socket of the pair.

b

Second socket of the pair.

Created with MrDocs