Function nix::sys::socket::socketpair
source ยท pub fn socketpair<T: Into<Option<SockProtocol>>>(
domain: AddressFamily,
ty: SockType,
protocol: T,
flags: SockFlag
) -> Result<(OwnedFd, OwnedFd)>
Available on crate feature
socket
only.Expand description
Create a pair of connected sockets