Simple port scanner in Python to play with socket module