home *** CD-ROM | disk | FTP | other *** search
Wrap
<%@ Language=VBScript %> <% Page = 42: Allow = 5 : ConnSpeed = 31680 : Conn = "Dedicated PPP / SLIP 28.8" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html><head><title>Calculating Connection Performance</title> <SCRIPT LANGUAGE="JavaScript"> TempString = navigator.appVersion if (navigator.appName == "Microsoft Internet Explorer"){ // Check to see if browser is Microsoft if (TempString.indexOf ("4.") >= 0){ // Check to see if it is IE 4 document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">'); } else { document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">'); } } else if (navigator.appName == "Netscape") { // Check to see if browser is Netscape document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">'); } else document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">'); </script> <META NAME="DESCRIPTION" CONTENT="This utility calculates the approximate kilobytes per second transferred, pages per second, and number of hits per day for the specified connection."></head> <body bgcolor="#FFFFFF" text="#000000"><font face="Verdana,Arial,Helvetica"> <% If Request("First") = 1 Then Page = Request.Form("PageSize") Allow = Request.Form("AllowTime") ConnSpeed = Request.Form("ConnType") Select Case ConnSpeed Case 31680 Conn = "Dedicated PPP / SLIP 28.8" Case 37478 Conn = "Dedicated PPP / SLIP 36.6" Case 57024 Conn = "56K (Frame relay)" Case 128000 Conn = "ISDN Dual Channel" Case 1500000 Conn = "T1" Case 44985600 Conn = "T3" Case 150000 Conn = "DS1" Case 44640000 Conn = "DS3" Case 150000000 Conn = "OC3" Case 622000000 Conn = "OC12" Case 2400000000 Conn = "OC48" Case 10000000000 Conn = "OC192" End select End if %> <h1><a name="calcform">Calculating Connection Performance</a></h1> <p>You can use this form to calculate expected connection performances. Simple choose the connection type from the list, input an estimated average page size, enter the maximum amount of time that is acceptable to download the page, and click the <strong>Calculate</strong> button.</p> <p><strong>Note</strong> These figures are only approximates and reflect only expected performance values based upon information available at time of product release.</p> <form name="Gimme" method=POST action="iicalc.asp"> <table border=0> <tr> <td><strong> Please Enter: </strong></td> </tr> <tr> <td> Connection Type </td> <td><select name="ConnType"> <option value=31680> Dedicated PPP / SLIP 28.8 <option value=37478> Dedicated PPP / SLIP 36.6 <option value=57024> 56K (Frame relay) <option value=128000> ISDN Dual Channel <option value=1500000> T1 <option value=44985600> T3 <option value=150000> DS1 <option value=44640000> DS3 <option value=150000000> OC3 <option value=622000000> OC12 <option value=2400000000> OC48 <option value=10000000000> OC192 </select></td> </tr> <tr> <td> Page size in Kilobytes </td> <td><input type="TEXT" name="PageSize" size="6" value="<%= Page %>"></td> </tr> <tr> <td> Allowable page load time in seconds </td> <td><input type="TEXT" name="AllowTime" size="6" Value="<%= Allow %>"></td> </tr> <input type="hidden" name="First" value="1"> <tr> <td align="Center"><input type="SUBMIT" name="Calc" value="Calculate"></td> </tr> <tr> <td><strong>Results</strong></td> </tr> <tr> <td bgcolor="#C0C0C0"> Connection Type </td> <td><% Response.Write(Conn) %></td> </tr> <tr> <td bgcolor="#C0C0C0"> Connection speed in Kilobytes per second </td> <td><% ConnSpeedVal = int(ConnSpeed / 12288) %> <% Response.Write(ConnSpeedVal) %></td> </tr> <tr> <td bgcolor="#C0C0C0" width=250> Pages per second </td> <td><% PageSecVal =( int((ConnSpeed / Page) / 1536)) +1%> <% Response.Write (PageSecVal) %></td> </tr> <tr> <td bgcolor="#C0C0C0"> Number of possible simultaneous users </td> <td><% SimultUsersVal = (int(ConnSpeed / ((Page * 1536) / Allow))) +1%> <% Response.Write (SimultUsersVal) %></td> </tr> <tr> <td bgcolor="#C0C0C0"> "Hits" per day </td> <td><% HitsDayVal = int((ConnSpeedVal * 86400) / Page)%> <% Response.Write (HitsDayVal) %></td> </tr> </table> </form> <hr class="iis" size="1"> <p align="center"><em><a href="../../../common/colegal.htm">© 1997 by Microsoft Corporation. All rights reserved.</a></em></p> </font> </body> </html>