How much bandwidth is used?

S

Smokey Grindel

When I do a command like this with a web response

Dim webRequest As System.Net.HttpWebRequest

' --- more code here

webRequest.GetResponse.Close()

how much data would this return if I dont open a stream and read from it? I
am assumething that it only returns the reponse from the server and a cookie
if you have a cookie container instanciated? Then if you create a reader and
read the stream instead of closeing it that is when the bandwidth is really
used. is this correct? thanks!
 
B

bruce barker

it depends on the buffer size the server is using and how much data is
sent. as the o/s will buffer the response, by the time you close, all
the data may have been received.

-- bruce (sqlwork.com)
 
S

Smokey Grindel

thanks!

bruce barker said:
it depends on the buffer size the server is using and how much data is
sent. as the o/s will buffer the response, by the time you close, all the
data may have been received.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top