Revision: 17732
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 12, 2009 17:33 by manatlan
Initial Code
import socket def isOpen(ip,port): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s.connect((ip, int(port))) s.shutdown(2) return True except: return False
Initial URL
Initial Description
Initial Title
test if an [ip:port] is open
Initial Tags
python
Initial Language
Python