Skip to main content

socketpair

Function socketpair 

Source
pub fn socketpair() -> Result<(UnixStream, UnixStream)>
Expand description

Create a connected pair of Unix stream sockets. Returns (parent_socket, child_socket).