Fwd: [Tutor] Create list of IPs

Kent Johnson kent37 at tds.net
Sun Feb 20 18:16:05 CET 2005


lumbricus at gmx.net wrote:
>>Liam Clarke wrote:
> 
> 
> [ snip ]
> 
> 
>>- increment an IP. This is the hardest part. 
> 
> 
> Why? An ip (V4) is just an 32bit integer :-)
> The problem arises from the representation.
> Use something like
> "http://pynms.sourceforge.net/ipv4.html"
> to switch between the various representations.

:-) Amazing what a difference it makes to look at a problem a different way.

Kent



More information about the Tutor mailing list