07-18-07 12:23 PM
* monty <manishgandhi13@gmail.com>
| I am facing a problem when a call made to the socket function
| recv. It is returning with the error number 4(EINTR).
man recv(2)
...
RETURN VALUE
These calls return the number of bytes received, or -1 if an
error occurred.
You should check errno only if recv returns -1. Is that what you do?
If the _recv_ call returns 4, it has received 4 Bytes.
R'
[ Post a follow-up to this message ]
|