pub fn recvfrom<Fd: AsFd>(
    fd: Fd,
    buf: &mut [u8],
    flags: RecvFlags
) -> Result<(usize, Option<SocketAddrAny>)>
Available on crate feature net only.
Expand description

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

References