Re: UDP Broadcasts not delivered to IP address

From: Bernd Eckenfels
Date: Tue Mar 06 2007 - 01:03:22 EST


In article <45EC82F0.1149A37E@xxxxxxxxxxx> you wrote:
> if I create a UDP socket, use setsockopt(SO_BROADCAST) to
> allow broadcasts to come in, and bind to the IP address of my
> interface, I don't receive any UDP broadcasts.

You only receive traffic to the address you bind to. This is quite obvious
to me. If you want to listen on a specific interface, SO_BINDTODEVICE

Gruss
Bernd
-
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