recv \- receive a message through a socket
ssize_t recv(int \fIsd\fP, void * \fImsg\fP, size_t \fImsg_len\fP, int \fIflags\fP);
recv() receives a message from another socket. It may only be used with
connected sockets. At present, minix doesn't support setting
\fIflags\fP to any value other than 0.
On success, this function returns 0. On error, -1 is returned and
The operation is not implemented for the given socket.
The socket is shutdown for reading.