Re: A ping program in javascript?



fj said the following on 7/20/2005 2:15 PM:

"Egil Hansen" <egil@xxxxxxxxxxxx> wrote in message news:1121773452.450026.142910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi

I'm wondering if its possible to write a javascript, that can ping a ip
and return the average round trip time (like ping in dos/linux)?

Regards, Egil.



Yes you can.

Prove it.

using AJAX.

"AJAX" is less reliable than other ways of attempting to detect download speed, all of which has variables to it that you do not (and can not) control thereby making it impossible to determine reliably.



-- Randy comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly .