Function nix::sys::socket::recvfrom [−][src]
pub fn recvfrom(
sockfd: RawFd,
buf: &mut [u8]
) -> Result<(usize, Option<SockAddr>)>
Receive data from a connectionless or connection-oriented socket. Returns the number of bytes read and, for connectionless sockets, the socket address of the sender.