Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to measure Internet Connection Speed

Posted on 2002-03-20
3
Medium Priority
?
405 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 80 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are like me and like multiple layers of protection, read on!
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

916 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