3 recvfrom \- receive a message through a socket
6 #include <sys/socket.h>
10 ssize_t recvfrom(int \fIsd\fP, void * \fImsg\fP, size_t \fImsg_len\fP, int \fIflags\fP, struct sockaddr * \fIsrc_addr\fP, socklet_t * \fIsrc_addr_len\fP);
14 recvfrom() receives a message from another socket. It may be
15 used with connectionless and connection oriented sockets.
16 At present, minix doesn't support setting \fIflags\fP to any
19 On success, this function returns 0. On error, -1 is returned and
24 The operation is not implemented for the given socket.
27 The socket is shutdown for reading.