Building a network scanner in Python

First steps into network security tools — building a port scanner from scratch.