1

Im looking for a way to measure ping delay time to a list of servers. It is important that it is only the actual packet delay that is measured as exactly as possible and not jvm computation time.

Some aspects has been covered in the answers here: How to do a true Java ping from Windows?

Measuring the time of InetAddress.isReachable(timeout) I think is not an option as it didnt work towards some of the servers I need to ping.

The closest I got so far is using processbuilder as shown in the answers in above link.

I've also found jpcap library: http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/download.html but going native comes with a cost.

Community
  • 1
  • 1
Aksel Willgert
  • 11,367
  • 5
  • 53
  • 74

0 Answers0