Function rustix::net::sendto_v4

pub fn sendto_v4<Fd: AsFd>(fd: &Fd, buf: &[u8], flags: SendFlags, addr: &SocketAddrV4) -> io::Result<usize>
Documentation

sendto(fd, buf, flags, addr, sizeof(struct sockaddr_in))—Writes data to a socket to a specific IPv4 address.

References