Function socketpair

Source
pub unsafe fn socketpair(
    family: sa_family_t,
    typ: sock_type,
    protocol: int,
    sv: *mut [int; 2],
) -> Result<int>
Expand description

Create an unnamed pair of connected sockets.