Description |
|
The read function is similar to the recvcall
except there is no flags parameter. It behaves the same way as a
recv call with flags set to zero.
For more information about read or any other POSIX function, refer
to the MPE/iX Developer's Kit Reference Manual, Volume 1.
Return Value |
|
If the call is successful, it returns the number of bytes received. If
the call fails, a -1 is returned, and an error code is stored in errno. A
zero is returned if the socket is blocking and the transport connection
to the remote node fails.