um building a software that will scan all the pcs connected to the network and search whether anyone has hosted any games (counter strike, warcraft, fifa). lets assume i know the ports the games use.
first of all i need to search all the connected pcs in some specific sockets...
suppose i want to scan 172.16.16.1 to 172.16.25.255 addresses and search in ports 123,234,345...what should i do or what should i study?
i just need to know how to scan a range of ip addresses using java?
heres a screenshot of GUI: