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