Agreed... I doubt if anybody would have the echo port enabled through their
firewall however it would probably work behind it on an internal network
segment.





"Kilkenny, Rory" <[EMAIL PROTECTED]> on 2002/09/18 03:05:15 PM

Please respond to "JDJList" <[EMAIL PROTECTED]>

To:   "JDJList" <[EMAIL PROTECTED]>
cc:

Subject:  [jdjlist] RE: Ping utilty - through Java


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







To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to