Solved

How to measure Internet Connection Speed

Posted on 2002-03-20
3
398 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dentrix G4 1 47
ios - android compatible database app 3 81
Why Bundles is not working on certain files - ASP MVC 3 45
contractual requirements for app hosting 3 80
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
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…

920 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

16 Experts available now in Live!

Get 1:1 Help Now