Function nix::sys::socket::socketpair [] [src]

pub fn socketpair(domain: AddressFamily, ty: SockType, protocol: c_int, flags: SockFlag) -> Result<(Fd, Fd)>

Create a pair of connected sockets

Further reading