in reply to Multithreaded Port Scanner

Thx for the replies everyone.
I'll try to use the techniques that you guys proposed.
But I'd like to make the multithreading work. So I can make a good multithreaded program, also for other projects.
I'd appreciate it if someone could help me out with the second script.
If you run the script you'll see that somethings wrong with the percentage. I believe this is caused by the threading.