Solved

How to measure Internet Connection Speed

Posted on 2002-03-20
3
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
moto 4g plus phone apps 5 89
MS SQL + date 6 54
ASP Classic, check if Querystring is UCase or LCase 10 36
Antivirus software for Exchange Mail servers 13 81
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 article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

752 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