PDA

View Full Version : ip scanner with Java



Mia_tech
April 6th, 2009, 12:04 AM
guys, I'm trying to make an ip scanner and I'm having problems to calculate the number of host that there's in a given network, I would take two inputs

starting host: 10.10.10.1
ending host: 10.10.10.254

how could I calculate the number of host for this given network, and of course would have to work for any kind of network like 10.10.0.1-10.10.255.254 etc...