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

2007-05-02 Thread David Miller
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 ma

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

2007-05-02 Thread Eric Dumazet
On Wed, 2 May 2007 05:55:28 -0400 "Dylan Taft" <[EMAIL PROTECTED]> wrote: > I've been pulling my hair out for the past several hours trying to > debug a program in wine. I'm currently on kernel 2.6.20.8. The > problem was that I was not getting any broadcasts to 255.255.255.255 > on a UDP socket

Strange UDP Issue on 2.6.20.8 - broadcasts not being received if socket bound to local ip

2007-05-02 Thread Dylan Taft
I've been pulling my hair out for the past several hours trying to debug a program in wine. I'm currently on kernel 2.6.20.8. The problem was that I was not getting any broadcasts to 255.255.255.255 on a UDP socket bound to 192.168.0.8 with SO_BROADCAST enabled. I was fiddling around a bit, bro