Results 1 to 5 of 5
- 02-07-2008, 03:47 PM #1
Member
- Join Date
- Feb 2008
- Posts
- 5
- Rep Power
- 0
How to mesure ping delay in JAVA..?
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?
- 05-30-2008, 10:40 PM #2
Member
- Join Date
- Jul 2007
- Posts
- 14
- Rep Power
- 0
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.
- 05-31-2008, 07:22 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 06-14-2008, 01:58 AM #4
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
- 06-15-2008, 06:37 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Thanks buddy, ICMP ping in Java. I'm really looking on it.
Similar Threads
-
Ping pong game
By adam405 in forum New To JavaReplies: 8Last Post: 10-20-2010, 03:52 PM -
Animation Delay - Thread problem
By wererabit in forum Advanced JavaReplies: 3Last Post: 04-10-2009, 10:35 PM -
How to write a JAVA program to mesure ping delay..?
By sacr83 in forum NetworkingReplies: 1Last Post: 02-15-2008, 04:07 PM -
XML parsing with 10sec delay using timer class
By srikanthn in forum XMLReplies: 0Last Post: 02-05-2008, 10:59 AM -
ping cmd
By kishi in forum Advanced JavaReplies: 2Last Post: 11-14-2007, 03:27 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks