Hi Eric,

I think your plan is a good one provided your web site is hosted on a very reliable server. You may have problems if your site is down but the person is connected. If the plugins require access to your web site then this is a vlid check, however if you are just checking for an internet connection, you may want to have a backup plan. If the initial connection to your site fails, try opening a socket to Google or some big, reliable site. If this fails too, you can assume they are off line.

As regards speed, you are downloading a tiny file, but I wonder is it faster just to try opening a socket and not actually downloading anything? In my experience, all these methods are fast enough if the connection is OK, but you need to test the timeouts if there is no connection as they can be very slow.

Cheers,
Sarah


On 18 May 2005, at 6:26 AM, Eric Chatonet wrote:

Thanks to all who replied to my internet speed test request.
The results show that the average is about 250/300 milliseconds from Europa and North America,
seems to be a bit longer from Japan :-)


My aim was to know the internet connexion status of an user with reliability: that's necessary for several plugins I am working on...
So I put a text file containing the text string "true" on my web site: reading or not this file makes the test.
Any better or faster "completely reliable" idea?


Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution




_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to