A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Sockets and Internet Protocols
Pinging In Java
Joined: Sep 10, 2002
Feb 25, 2004 23:54:00
Is there a way to ping in
I need to have echo response times of some addresses but I could not find a spesific class that does ping.
author and iconoclast
Joined: Jul 08, 2003
Feb 27, 2004 07:59:00
Ping is implemented using a low-level protocol named ICMP, and Java doesn't support it directly. You have three choices:
Use the UDP 'echo' protocol or something similar instead of real 'ping', like
Execute an external 'ping' program using Runtime.exec(); or
Use JNI to interface to native code that implements ICMP ping.
[Jess in Action]
Don't get me started about those stupid
subject: Pinging In Java
SQL Server 2005 Connection using SQL Explorer 3.5 in Eclipse
ping a website
Design pattern for sorting nested arraylists
Overriden method throwing Exception.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014