I have a serious problem:
A process is expecting (waiting for) OOB-Data (out-of-band, urgent) on a
stream-socket. I'm doing a 'select' with the exception-fd's enabled, and
that works. The problem is, that sometimes the select returns too early, so
a following 'recv' with MSG_OOB does fail. Currently I'm polling the 'recv',
thus looping until it returns OK, but I believe that is not a good solution.
Is there any way to avoid this looping ?
The SIGURG-signal does not work either, it's also sent too early. I'm
running a AIX/RS6000 and a NeXT, both with the same behaviour. And from the
docs, I think this is a feature not a bug :-(
Any help appreciated, if possible respond via e-mail !
--
------------------------------------------------------------------
Thomas Funke, Gasteinerstr. 29, 1000 Berlin 31, Germany.
------------------------------------------------------------------