Re: Strange UDP Issue on 2.6.20.8 - broadcasts not being receivedif socket bound to local ip

From: David Miller
Date: Wed May 02 2007 - 06:30:43 EST



SO_BROADCAST controls sending, not receiving.

This definition comes from the BSD sockets API, even
Stevens TCP/IP Illustrated Volume 2, page 437, figure
15.4 clearly states that SO_BROADCAST means "socket
can send broadcast messages". It says nothing about
receiving and the BSD implementation matches that
description, as does Linux.

This has been brought up before, search for the
subject "UDP Broadcasts not delivered to IP address"
in the linux-net list archives for one such thread.
-
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/