AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:     int recvfrom(int s, char *msg, int len, int flags, struct sockaddr *from, int *fromlen);
Header:     NetLib -     sys/socket.h
     Sockets -     socklib.h
     UnixLib -     sys/socket.h

Returns:     amount of data received, or EOF if error

This call has identical functionality to Socket_Recv and recv() except that the address of the host that sent the data will be returned in the block supplied. If no data is available, the call will block until data is available, unless the socket has been marked non-blocking, in which case -1 will be returned and errno set to EWOULDBLOCK.

C definition     SWI definition

[sh-index] Back to list of manuals