[Tutor] string problem

Manoj kumar manoj_kumar2512 at rediffmail.com
Sun Jan 25 14:21:02 CET 2009


  
i was trying to write a script for a port scanner. i was able to get a working scanner which can scan a given host.

now i want to upgrade it to scan for a given range of ip address. 
for example:
starting ip:166.43.234.43
last ip:234.23.45.123

no problem i am facing is that i am really NOT able to split ip addresses into nodes like:
166.43.234.43 would be like '166','43','234','43'


help me please.

thanks in advance


MANOJ SHEOKAND

(+919728523528)

"some day there won't be a song in ur heart, sing anyway"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090125/e967cfb9/attachment.htm>


More information about the Tutor mailing list