Function nix::sys::socket::socket [] [src]

pub fn socket(
    domain: AddressFamily,
    ty: SockType,
    flags: SockFlag,
    protocol: c_int
) -> Result<RawFd>

Create an endpoint for communication

Further reading