devela::_dep::rustix::net

Function sendto_any

pub fn sendto_any<Fd>(
    fd: Fd,
    buf: &[u8],
    flags: SendFlags,
    addr: &SocketAddrAny,
) -> Result<usize, Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

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

§References