pub fn socketpair(
    domain: AddressFamily,
    type_: SocketType,
    flags: SocketFlags,
    protocol: Protocol
) -> Result<(OwnedFd, OwnedFd)>
Available on crate feature net only.
Expand description

socketpair(domain, type_ | accept_flags, protocol)

References