MCPcopy Create free account
hub / github.com/Icinga/icinga2 / SocketPair

Method SocketPair

lib/base/socket.cpp:425–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void Socket::SocketPair(SOCKET s[2])
426{
427 if (dumb_socketpair(s, 0) < 0)
428 BOOST_THROW_EXCEPTION(socket_error()
429 << boost::errinfo_api_function("socketpair")
430 << boost::errinfo_errno(errno));
431}

Callers

nothing calls this directly

Calls 2

dumb_socketpairFunction · 0.85
socket_errorClass · 0.85

Tested by

no test coverage detected