Developing a Port Scanner in Python
Another in my line of tutorial reposts.... I really need to finish up some stuff on this... it was just a small thing I played with... there are problems with it... but it will introduce the basics..
The original (with the code) can be found here
I will also attempt to add the code here in the next day or two.... (I've also got a couple smaller code releases planned)...
Due to errors with code formatting and my inability to get wordpress to display html without rendering it I'm going to attach the tutorial as a text file.

Hey HT,
The code doesn’t render too well – you might want to consider wrapping the lines (I assume it’s \ in Python as well?)
It appears your link to the original + code is not going to where it should be!