pub fn sendto_v4<Fd: AsFd>(
fd: Fd,
buf: &[u8],
flags: SendFlags,
addr: &SocketAddrV4
) -> Result<usize>
Expand description
sendto(fd, buf, flags, addr, sizeof(struct sockaddr_in))
—Writes data to
a socket to a specific IPv4 address.
pub fn sendto_v4<Fd: AsFd>(
fd: Fd,
buf: &[u8],
flags: SendFlags,
addr: &SocketAddrV4
) -> Result<usize>
sendto(fd, buf, flags, addr, sizeof(struct sockaddr_in))
—Writes data to
a socket to a specific IPv4 address.