Function libax::cbindings::ax_connect
source · #[no_mangle]
pub unsafe extern "C" fn ax_connect(
socket_fd: c_int,
socket_addr: *const sockaddr,
addrlen: c_uint
) -> c_int
Available on crate features
net
and cbindings
only.Expand description
Connects the socket to the address specified.
Return 0 if success.