Port-Scanner Scanning no. of IPs connected to your Network and Scanning ports for connected IPs Python-nmap is used for this piece of code.