yawgmoth7 wrote: > Well, since range() won't take a normal IP(Such as 127.0.0.1). and, > you can't take it as 127001(Since socket.connect() won't take that). > What would you suggest as a better way to approach this?
Use a recipe for that. Have a look at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466286 and http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466298 --- Heiko Wundram. -- http://mail.python.org/mailman/listinfo/python-list