broadcast udp packets ...
Chuck Swiger
cswiger at mac.com
Tue Jul 1 12:01:16 PDT 2003
Matthew Grooms wrote:
> Is there any way to generate a udp broadcast ( all routes
> 255.255.255.255 ) packet using a standard sendto() without it being
> translated into a local network broadcast? Is this just not "allowed"?
Are you trying to use 255.255.255.255 to reach something not on a local subnet?
If you have multiple interfaces, a broadcast to 255.255.255.255 should go out on
all of them. That being said, the all-ones broadcast address means "all local
networks", and most routers will block such traffic from passing on in any event.
--
-Chuck
More information about the freebsd-net
mailing list