Function axlibc::send

source ·
#[no_mangle]
pub unsafe extern "C" fn send(
    socket_fd: c_int,
    buf_ptr: *const c_void,
    len: size_t,
    flag: c_int
) -> ssize_t
Available on crate feature net only.
Expand description

Send a message on a socket to the address connected.

Return the number of bytes sent if success.