The problem is, if you are trying to use this to "ping" machines out on the net, very few have port 7 open or accessible, so most of the time the test fails.
-> -> No it is using the echo port 7 not port 80 which is usually -> http... see the -> line Socket t = new Socket(args[0], 7); -> The last parameter is the port number. If you want to use -> port 80 change -> the code. I didn't write it or test it so you'll have to try it out. -> To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
