#[no_mangle]
pub unsafe extern "C" fn sendto(
socket_fd: c_int,
buf_ptr: *const c_void,
len: size_t,
flag: c_int,
socket_addr: *const sockaddr,
addrlen: socklen_t
) -> ssize_t
Available on crate feature
net
only.Expand description
Send a message on a socket to the address specified.
Return the number of bytes sent if success.