thread help
Aahz
aahz at pythoncraft.com
Mon Jun 14 17:27:33 EDT 2004
In article <cakusi$e4u$1 at solaris.cc.vt.edu>,
Bart Nessux <bart_nessux at hotmail.com> wrote:
>
>I'm no expert on threading, far from it. Could someone show me how I can
>make this work correctly? I want to probe 64 unique IP address for HTTP
>servers simultaneously, not the same IP addy 64 times (as I'm doing
>now). Any tips would be much appreciated.
Create a threading.Thread subclass that takes one IP address and a list
of ports to scan. Start 64 instances of this class, each with a
different IP address.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"as long as we like the same operating system, things are cool." --piranha
More information about the Python-list
mailing list