PC Review


Reply
Thread Tools Rate Thread

Determining per-connection bandwidth - 1Please Help!

 
 
OPM
Guest
Posts: n/a
 
      23rd Feb 2007
Hi guys and gals,

I've been Googling hi and low for the past few hours trying to work out how
to do this and having very little luck. I'm trying to determine how I can
determine the in and out speed (bytes/sec) for TCP connections.

Do I need to using a Packet Sniffer like WinPCap for this, or is there some
other method for working this out? Thanks heaps in advance and any pointers
would be appreciated.

Kind regards!


 
Reply With Quote
 
 
 
 
mangist@gmail.com
Guest
Posts: n/a
 
      23rd Feb 2007
On Feb 22, 9:41 pm, "OPM" <no@thanks> wrote:
> Hi guys and gals,
>
> I've been Googling hi and low for the past few hours trying to work out how
> to do this and having very little luck. I'm trying to determine how I can
> determine the in and out speed (bytes/sec) for TCP connections.
>
> Do I need to using a Packet Sniffer like WinPCap for this, or is there some
> other method for working this out? Thanks heaps in advance and any pointers
> would be appreciated.
>
> Kind regards!


Not sure if you are meaning TCP connections in your application? Or
TCP connections currently in Windows? You don't need WinPCap as there
are bandwidth meters around that just install straight away.

I would recommend using WMI (Windows Management Instrumentation) to
attach to your network adapter. There are several performance
counters available to use like bytes received/sec and bytes sent/sec.
I recommend using the .NET System.Diagnostics namespace (look at
PerformanceCounter classes on MSDN documentation).

P.s. right click My Computer -> Manager -> Performance Monitor , you
can add counters and see what the different ones do.

Hope this helps.

 
Reply With Quote
 
OPM
Guest
Posts: n/a
 
      25th Feb 2007
Thanks for the reply.

Already aware of PerfMon and Performance Counters, should have been a bit
clearer...

I would like to see the bandwidth being utilised on a per-connection basis,
for example if Internet Explorer is downloading, look at the speed it is
downloading at.

Any ideas?

Cheers
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 22, 9:41 pm, "OPM" <no@thanks> wrote:
>> Hi guys and gals,
>>
>> I've been Googling hi and low for the past few hours trying to work out
>> how
>> to do this and having very little luck. I'm trying to determine how I can
>> determine the in and out speed (bytes/sec) for TCP connections.
>>
>> Do I need to using a Packet Sniffer like WinPCap for this, or is there
>> some
>> other method for working this out? Thanks heaps in advance and any
>> pointers
>> would be appreciated.
>>
>> Kind regards!

>
> Not sure if you are meaning TCP connections in your application? Or
> TCP connections currently in Windows? You don't need WinPCap as there
> are bandwidth meters around that just install straight away.
>
> I would recommend using WMI (Windows Management Instrumentation) to
> attach to your network adapter. There are several performance
> counters available to use like bytes received/sec and bytes sent/sec.
> I recommend using the .NET System.Diagnostics namespace (look at
> PerformanceCounter classes on MSDN documentation).
>
> P.s. right click My Computer -> Manager -> Performance Monitor , you
> can add counters and see what the different ones do.
>
> Hope this helps.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing uses all bandwidth not allowing me to =?Utf-8?B?RHJQ?= Windows Vista Networking 0 6th May 2007 11:45 PM
Bandwidth Utilization for Remote Desktop Connection using vpn =?Utf-8?B?U2h1dGRvd24gd2l0aGluIDYwIFNlY29uZHM=?= Windows XP General 2 14th Oct 2005 11:43 AM
Bandwidth limiting a RAS connection =?Utf-8?B?TWlrZSBMYXdzb24=?= Microsoft Windows 2000 RAS Routing 0 13th Oct 2005 09:56 PM
VPN Connection Bandwidth David Microsoft Windows 2000 RAS Routing 0 4th Mar 2004 06:46 PM
Bandwidth monitor by connection Igor Schein Freeware 1 28th Sep 2003 01:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 AM.