Re: UDP recvmsg blocks after select(), 2.6 bug?

Paul Jakma
2004-10-07T13:21:42Z

On Thu, 7 Oct 2004, Martijn Sipkema wrote:

> Would you care to provide any real answers or are you just telling
> me to shut up because whatever Linux does is good, and not appear
> unreasonable by adding a ;) ..?

No, I'm saying it's simple good practice to set O_NONBLOCK on sockets
if one expects not to block - any other expectation is not robust,
never mind what POSIX says about select().

regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
Fortune:
You know you are getting old when you think you should drive the speed limit.
-- E.A. Gilliam