1. Computing
Port scanning is an important facility to have whether you are doing network-oriented programming or checking your hosts for open holes. Such a routine, repetetive task is incredibly mundane for humans but fits nicely in the realm of computing.

To build a port scanner in Python requires, at its most basic, just the socket module. However, with the modules sys and optparse, you can build a very servicable port scanner that will help you debug your network applications or check for security issues on your network. Unlike tools such as nmap, this one allows you to tailor the output to your needs and, if necessary, easily port it to other applications for further processing. See the new series "A Python-Powered Port Scanner" for more.
Comments
Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
  1. About.com
  2. Computing
  3. Python

©2014 About.com. All rights reserved.