Function axlibc::connect

source ·
#[no_mangle]
pub unsafe extern "C" fn connect(
    socket_fd: c_int,
    socket_addr: *const sockaddr,
    addrlen: socklen_t
) -> c_int
Available on crate feature net only.
Expand description

Connects the socket to the address specified.

Return 0 if success.