Function socket

Source
pub unsafe fn socket(
    family: sa_family_t,
    typ: sock_type,
    protocol: int,
) -> Result<int>
Expand description

Create a socket endpoint for communication.