[EMAIL PROTECTED] 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

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to