Function socket

Source
#[no_mangle]
pub unsafe extern "C" fn socket(
    domain: c_int,
    socktype: c_int,
    protocol: c_int,
) -> c_int
Expand description

Create an socket for communication.

Return the socket file descriptor.