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