Specifications
Operating System: Windows XP and Vista
Language: C#
.NET Version: 3.5
Problem
I am constantly transferring data using HTTP, I need to access a website in HTTP and retrieve data in HTTP. So for example:
PSUEDOCODE EXAMPLE - operation 1
----------------------------------------------------------------------------------------------
Expand|Select|Wrap|Line Numbers
- HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.google.com");
- // execute the request
- HttpWebResponse response = (HttpWebResponse)request.GetResponse();
How long will this operation (operation 1) take? Note that, this code won't work, this is only psuedocode to show an example. The problem is, I need this code to run very fast. Now, I understand this is not a practical question if the user is using Dial-Up, so lets assume the user has DSL and downloads files at 100 KB/s average. How long would Operation 1 take if i do it every second?
Second Question
What is the fastest, and I really mean FASTEST way of access a webpage?