Multithreaded Port Scanner

I am FAR from a developer so go easy on me. This is an attempt at a multithreaded port scanner. I have it down to about 40 seconds to scan all 65,535 port (using my PC). The threading was obviously the hard part and I relied on several code examples…