Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: JavaScript
Expertise: Beginner
Jul 9, 1999

Checking Net Speed

Question:
Is there a script that can gauge site visitors' net connection speed and route them to the proper link? In particular, I'd like to "auto link" my real video files so that my substantial number of ISDN/WAN visitors will be re-routed to the best quality high speed RealVideo Clips, while the phone world will be routed to the 28.8 version.

Answer:
Actually, this problem is tough in general. Not only is this information not available from JavaScript, it isn't really available in general. This is largely due to the way the Internet works. Although it could theoretically be possible figure out the speed at which a user is connected, the actual throughput from a server to a user depends on a large number of variables and can change second to second. My recommendation is provide both links to the user and have them choose.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date