Messages in this thread | | | Date | Thu, 7 Oct 2004 14:19:04 +0100 (IST) | From | Paul Jakma <> | Subject | Re: UDP recvmsg blocks after select(), 2.6 bug? |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |