Syntax: Sockets - int socketread (int s, char *buf, int len);
UnixLib - __ssize_t read (int s, void *buf, size_t len);
Header: Sockets - socklib.h
UnixLib - unistd.h
Returns: amount of data received, or EOF if error
This call reads data from a socket in the same style as Socket_Recv or recv() except that there is no flags argument, so all flags are treated as being zero.
C definition SWI definition
|
|
|