On Tue, Apr 17, 2001 at 09:21:49PM +0200, Rafael MatíasHernández wrote: > Hello. I have a problem running this code under linux 2.4.3: the > "recv" function does not block, but instead returns "0". The same code > under linux 2.2.19 will block until a datagram is received. I think > the problem is in the shutdown code (although the socket is not > connected). Any idea? shutdown refers both to so and so2. 2.4's behaviour is a bugfix over 2.2. -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org