[Infrastructures] ISconf: Cache.py - bcast method
Steve Traugott
stevegt@TerraLuna.Org
Tue, 20 Dec 2005 19:06:09 -0800
On Tue, Dec 20, 2005 at 12:06:00PM -0500, Daniel Hagerty wrote:
> > Yes, from the sendto call. The machine is just for testing ISCONF. It
> > is a clean install of Ubuntu with simple routing (just gets a dhcp
> > address). I am not using the IS_NETS file and the address that fails
> > is <broadcast>. Also, the call succedes for some number of calls then
> > throws the exception.
>
> *Which* broadcast? 255.255.255.255, or subnet address all ones?
In python, the string '<broadcast>' means INADDR_BROADCAST i.e.
255.255.255.255. (This was more foolproof than trying to figure out
the local network numbers. If it turns out that this is somehow
causing blocking on a UDP sendto(), then then I'm going to have to eat
my hat or something.)
Steve
--
Stephen G. Traugott (KG6HDQ)
UNIX/Linux Infrastructure Architect, TerraLuna LLC
stevegt@TerraLuna.Org
http://www.stevegt.com -- http://Infrastructures.Org