Cool project! Building security tools from scratch is one of the best ways to understand networking fundamentals. Python's socket library is surprisingly powerful for this kind of work. One suggestion for the next iteration: consider adding async scanning with asyncio — it'll dramatically speed up scans on large port ranges since you're not waiting for each connection sequentially. Also, adding service banner grabbing would make this much more useful for actual recon. Looking forward to seeing the series evolve!
Thank u for your feedback . And the realy the connect_ex is just beginning. I have alreay planned to tackle the issue of speed in next log . I migt start with threadpool implementation to keep logic easy for beginners. and then move to the async version
Banner grabbing is already on roadmap on v3
Archit Mittal
I Automate Chaos — AI workflows, n8n, Claude, and open-source automation for businesses. Turning repetitive work into one-click systems.
Cool project! Building security tools from scratch is one of the best ways to understand networking fundamentals. Python's socket library is surprisingly powerful for this kind of work. One suggestion for the next iteration: consider adding async scanning with asyncio — it'll dramatically speed up scans on large port ranges since you're not waiting for each connection sequentially. Also, adding service banner grabbing would make this much more useful for actual recon. Looking forward to seeing the series evolve!