[−][src]Function linux::syscall::sendto
pub fn sendto(
sockfd: c_int,
buf: &[d8],
flags: c_int,
dst_addr: Option<&[d8]>
) -> ssize_t
Sends data to an address.
[argument, sockfd] The socket over which to send.
[argument, buf] The buffer to send.
[argument, flags] Flags used while sending.
[argument, dst_addr] An optional destination of the message.
[return_value] Returns the number of bytes sent or an error value.
= See also
- link:man:sendto(2)