Solved

How to measure Internet Connection Speed

Posted on 2002-03-20
3
397 Views
Last Modified: 2013-11-15
Please help me to find out byte transfer rate of an Internet Connection using Active server Pages.Any answer will be appreciated.
0
Comment
Question by:DeepthiJoseph
3 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 6883424
You can't. It's not a static number, and you have no way to get it.
0
 
LVL 18

Expert Comment

by:bruno
ID: 6883499
I'm pretty sure there is a way, because i know for streaming media, the server can automatically detect your connection speed and stream you the right file.


BRUNO
0
 
LVL 18

Accepted Solution

by:
mgfranz earned 20 total points
ID: 6883702
Maybe this will help;<HTML>
<HEAD>
<TITLE>Test Results</TITLE>

<META NAME="Cache-CONTENT" CONTENT="no_cache">
<META HTTP-EQUIV="Cache-CONTENT" CONTENT="no_cache">
<META HTTP-EQUIV="Pragma" CONTENT="no_cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<HEAD>
<style>
BODY {
     font-family : Arial, Helvetica, sans-serif;
}
</style>
<script language="javascript"><!--
time = new Date();
starttime = time.getTime();
// -->
</script>
<script>
<!--
time          = new Date();
endtime       = time.getTime();
if (endtime == starttime)
     {downloadtime = 0
     }
else
     {downloadtime = (endtime - starttime)/1000;
     }
if (downloadtime == 0)
     {downloadtime = .1;
      nextsize     = 50;
     }
else if (downloadtime < .2)
     {nextsize     = 500;
     }
else
     {
      nextsize     = 50;
     }
kbytes_of_data = 50; // data file size
linespeed     = kbytes_of_data/downloadtime;
kbps          = (Math.round((linespeed*8)*10*1.02))/10;
kbytes_sec    = (Math.round((kbytes_of_data*10)/downloadtime))/10;
dltime_add10  = Math.round((kbytes_of_data*1.15)/kbytes_sec);
dltime_sub10  = Math.round((kbytes_of_data*0.85)/kbytes_sec);
// -->
</script>
<BODY BGCOLOR=black TEXT=white LINK=blue vLINK=red aLINK=green>
<!-- you can either use a big image here, or a lot of ASCII text... Like this
_7NtOA"%.pY?=iwWYr)-F_s.l\"T|-oUJd"?AO4a
?OAAU?KlD?q"ZrI,n_O,?^pIFo~"?Uod"nzoavYY,
O6{?,,_OC`YYd~;hIA?.A?D3+9~_S3??vl?UcMI''r'
W?t-r*~Ep~0"_7%r_1_rAA ?t'"t$"o.OYT3'A
?jYO~T?t,"-Trr^=Y2%|~JIT_o UjjnN?~MCOAo3YA\Y
1.?W_?"IOx~??M~Y9[?e",,4NYE-r?A?r`-'O+N_eY
Y?nY{Y/[?k"?"~`,6,o O?AoB?IKYyEbRi,,:nTY%
?DW?5/ao?-.i-o,-Iy~txhFU-?nWr4T?O?O,?PY+^r
"xO_jOOT]]!-EFFA^,+O"-#3?O$~gsA?3',*??,DnU
I.Zj?IcMsge?n1Jm:d?an_YP%"r&?^?S++-y'&t??Ioj
#AOY~~+.i'-O'Yr??-I'6OE?AHr?l_wooEY-Y-b:i/?
~`_9IY-k/.'oExc?_A?s?YOAsxOu4oiI?YI,|yj?sv_
?EIXl~-JI'_r0?E,"~r`""?Utw?~!"AUy"U@x"Go
EO"%9E"K??8SSyIAOY%N_,UyI'"qAtLO~'rA#.{Ey,
oYUP]W,n-n,o4yR'o."y?Yo`Y]-~-O)yt"?)OME~_-x]By
3o-5-X?_7sE;b:+'C14-t.Bt]?o`dduU;aI(;VOOo#-OY
.O%O-,"k_lns_~&E,+A?o,"t-Yht_,1sF?;M?E-o?-
?Y$r'"aAo)YE?-X}~o+Y"Ox.Y??6oHtzQ"/S-gc/U
-->
<CENTER><img src="bigimage.jpg" border="0" alt="">
<BR><TABLE BORDER=0>
<TR ALIGN=center><TD COLSPAN=2><FONT SIZE=4><B>[ Your line speed ]<B></FONT></TD></TR>
<TR ALIGN=right>
<TD>Download start time: </TD><TD ALIGN=left><B><script><!--
document.write(starttime); //--></script></B></TD></TR>
<TR ALIGN=right>
<TD>Download end time:</TD><TD ALIGN=left><B><script><!--
document.write(endtime); //--></script></B></TD></TR>
<TR ALIGN=right>
<TD>Download time: </TD><TD ALIGN=left><B><script><!--
document.write(downloadtime); //--></script></B></TD></TR>
<TR ALIGN=right>
<TD>Download size in thousands of bytes: </TD><TD ALIGN=left><B><script><!--
document.write(kbytes_of_data); //--></script></B></TD></TR>
<TR ALIGN=right>
<TD>Throughput in Kilobits per Second: </TD><TD ALIGN=left><B><script><!--
document.write(kbps); //--></script></B></TD></TR>
<TR ALIGN=right>
<TD>Throughput in Kilobytes per Second: </TD><TD ALIGN=left><B><script><!--
document.write(kbytes_sec); //--></script></B></TD></TR>
</TABLE>
</CENTER>
</BODY>
</HTML>


There are a bunch of testing utilities available, I like this one too; http://www.verdeonline.com/speedtest.asp

Here is a list of all the good ones; http://economics.wustl.edu/computing/Bandwidth.htm
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
Viewers will learn how to use the Hootsuite Dashboard.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now