Function axlibc::socket

source ·
#[no_mangle]
pub unsafe extern "C" fn socket(
    domain: c_int,
    socktype: c_int,
    protocol: c_int
) -> c_int
Available on crate feature net only.
Expand description

Create an socket for communication.

Return the socket file descriptor.