import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) host = input("Please enter the IP you want to scan: ") port = int(input(&