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

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

Further reading