473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

How much bandwidth is used?

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!
Mar 12 '07 #1
2 1025
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)

Smokey Grindel wrote:
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!

Mar 12 '07 #2
thanks!

"bruce barker" <no****@nospam.comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
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)

Smokey Grindel wrote:
>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!
Mar 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Filip Polsakiewicz | last post by:
Hi all, I would like to read the currently used bandwidth using VB.NET or VJ#. I tried using the PerformanceCounter but this one only displays the available bandwidth and not the used bandwidth....
1
by: Skeleton Man | last post by:
Hi, I have a chat script which I added very basic bandwidth tracking to as follows: ob_start(); print "this is some output!"; print "this is more output!"; $bytes = ob_get_length(); //...
8
by: Dominic Martin | last post by:
Hi, I need to setup an ODBC link over our Internet connection between MS Access (local) and a MySQL server (Remote - the local PC has the MySQL ODBC driver installed). What kind of bandwidth...
2
by: Filip Polsakiewicz | last post by:
Hi all, I would like to read the currently used bandwidth using VB.NET or VJ#. I tried using the PerformanceCounter but this one only displays the available bandwidth and not the used bandwidth....
8
by: FrobinRobin | last post by:
Hi, I intend to use Ajax for a kiosk application, it's primary usage is to retrieve live data from my DB, it's a fairly small amount of data (5 fields, of small data size and limited to 15...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.