Function rustix::net::recvfrom

source ·
pub fn recvfrom<Fd: AsFd>(
    fd: Fd,
    buf: &mut [u8],
    flags: RecvFlags
) -> Result<(usize, Option<SocketAddrAny>)>
Expand description

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

References