[−][src]Function nix::sys::socket::socketpair
pub fn socketpair<T: Into<Option<SockProtocol>>>(
domain: AddressFamily,
ty: SockType,
protocol: T,
flags: SockFlag
) -> Result<(RawFd, RawFd)>
Create a pair of connected sockets