So I\'m making a port scanner in python...
import socket ip = \"External IP\" s = socket.socket(2, 1) #socket.AF_INET, socket.SOCK_STREAM def porttry(ip, port):
socket.setdefaulttimeout(0.5) This will make the program faster!