12-23-06 12:21 AM
Not all "unixes" fully support SO_RCVTIMEO. Some may have that
defined, but it may be a noop.
If you want to make sure that one does not block waiting for data on a
socket, the much more portable way to go is to use either select() or
poll() and a non-blocking socket.
rick jones
--
The glass is neither half-empty nor half-full. The glass has a leak.
The real question is "Can it be patched?"
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
[ Post a follow-up to this message ]
|