4.2 vs 4.3 select() (ARRRRGH!)
Chris Torek
chris at mimsy.UUCP
Mon Jun 13 21:00:24 AEST 1988
In article <9649 at g.ms.uky.edu> sean at ms.uky.edu (Sean Casey) writes:
>I just tried out the select code that didn't work on 4.2 and
>guess what? It works fine on a 4.3 system. ARRRGGGH! Why in the
>hell did they distribute something that doesn't work as documented?
Because their funding contract said `thou shalt release by September'.
(Or whatever date it was. Anyway, as I understand it, the release
date hit, nothing was really ready, so they shipped anyway. There
were some fixes quitely applied to later tapes.)
>Now that I'm multiplexing, just getting a [SIGURG] signal [for out
>of band data] isn't good enough, cause the program has to be able to
>figure out who sent the thing. ... Does anyone know of a sneaky way
>to make this work on 4.2?
Do a receive for MSG_OOB anyway. If there is none, it ought to fail
with EWOULDBLOCK, or perhaps return 0.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.wizards
mailing list