Re: UDP Broadcasts not delivered to IP address

From: Detlef Vollmann
Date: Tue Mar 06 2007 - 01:52:13 EST


Bernd Eckenfels wrote:
>
> In article <45EC8D42.57D11665@xxxxxxxxxxx> you wrote:
> > True, which in my case is 255.255.255.255 (local broadcast).
> > (which is internally 0.0.0.0), but not if bound to 192.168.100.100
>
> 255.255.255.255 != 192.168.100.100 - thats why you dont receive traffic for
> 255.255.255.255 if you bind to 192.168.100.100
True, but isn't that the whole idea of broadcasts, that you get
them even if your IP address doesn't match?

I've read the RFCs, and I got the feeling that you should get
them, but then the RFCs don't talk about sockets and bind...

I'm told that other operating systems work as I expect, but I
still have to test this.

Detlef

--
Detlef Vollmann vollmann engineering gmbh
Linux and C++ for Embedded Systems http://www.vollmann.ch/
Linux for PXA270 Colibri module: http://www.vollmann.ch/en/colibri/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html