nix::sys::socket

Function recv

Source
pub fn recv(sockfd: RawFd, buf: &mut [u8], flags: MsgFlags) -> Result<usize>
Expand description

Receive data from a connection-oriented socket. Returns the number of bytes read

Further reading