RECV(2)RECV(2)NAMErecv - receive a message through a socket
SYNOPSIS
#include <sys/socket.h>
ssize_t recv(int sd, void * msg, size_t msg_len, int flags);
DESCRIPTIONrecv() receives a message from another socket. It may only be used with
connected sockets. At present, minix doesn't support setting flags to
any value other than 0.
RETURN VALUES
On success, this function returns 0. On error, -1 is returned and errno
is set.
ERRORS
[ENOSYS] The operation is not implemented for the given socket.
[EPIPE] The socket is shutdown for reading.
SEE ALSOrecvfrom(2), socket(2), send(2), sendto(2)RECV(2)