Function libax::cbindings::ax_send

source ·
#[no_mangle]
pub unsafe extern "C" fn ax_send(
    socket_fd: c_int,
    buf_ptr: *const c_void,
    len: usize,
    flag: c_int
) -> isize
Available on crate features net and cbindings only.
Expand description

Send a message on a socket to the address connected.

Return the number of bytes sent if success.