- Change the default TCP port [22] to others. Such as 22,80,443
- Take input from a text file [1/line]
- Can specify the number of threads.
This version uses function, queue (for synchronization), threading (for speed), and class (OO).
Comments:
- Lack of accuracy. May miss out some ports.
- Slow. Have to wait till timeout for joining the queue and threads.