I'm new for networking programing in JAVA and i wanna know that how to write a java program for mesure to ping delay for particular site od IP address?As a Example, if I ping to Google then how to program to mesure ping delay for that site?
Unfortunately Java does not support the ICMP protocol which is needed for ping. There are however some native implementations out there that work with Java. Do a google search for "java ping" to find some.
In Java we can check that server is reachable or not. That's not what exactly looking by sacr83. But if we can implement it some time mechanism, we can measure the delay.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.