Function rustix::net::recvfrom

pub fn recvfrom<Fd: AsFd>(fd: &Fd, buf: &mut [u8], flags: RecvFlags) -> io::Result<(usize, SocketAddrAny)>
Documentation

recvfrom(fd, buf, flags, addr, len)—Reads data from a socket and returns the sender address.

References