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