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

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

Create a pair of connected sockets

Further reading