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.
pub fn recvfrom<Fd: AsFd>(
fd: Fd,
buf: &mut [u8],
flags: RecvFlags
) -> Result<(usize, Option<SocketAddrAny>)>
recvfrom(fd, buf, flags, addr, len)
—Reads data from a socket and
returns the sender address.