Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

From: Alan Cox
Date: Tue Aug 16 2005 - 09:26:05 EST


On Maw, 2005-08-16 at 16:12 +0200, Kern Sibbald wrote:
> I verified that I have not explicitly set nonblocking on the socket, so expect
> it to be default blocking.

Depends where it came from and what OS. In particular the blocking state
of a socket returned from accept may be the same as the accepting
socket, or may be blocking depending on the exact system.

You could also try turning blocking on and seeing what effect that has

-
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/