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

From: Buddy Lucas
Date: Sun Oct 17 2004 - 13:22:39 EST


On Sun, 17 Oct 2004 20:06:29 +0200, Lars Marowsky-Bree <lmb@xxxxxxx> wrote:
> On 2004-10-17T20:04:21, Buddy Lucas <buddy.lucas@xxxxxxxxx> wrote:
>
> > [ snip ]
> >
> > Also note the examples that Stevens gives. For instance, he explicitly
> > checks for EWOULDBLOCK after a read on a nonblocking fd that has been
> > reported readable by select().
>
> The specs don't disagree with that. On a O_NONBLOCK socket, that is
> allowed.

I think the specs got to you, man!


Cheers,
Buddy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/