Solved

Bandwidth Usage

Posted on 2002-05-13
3
204 Views
Last Modified: 2010-04-02
Is there a way to get the percent of the bandwidth used with WINAPI or MFC? I want an indicator of how much of the network (internet/lan) connection is being used.
0
Comment
Question by:0x100
3 Comments
 
LVL 22

Accepted Solution

by:
ambience earned 100 total points
ID: 7007672
which OS, one way is to use performance counters, for e.g. on Win 2K you can use the Performance object Network Interface and its counter Current Bandwidth.

If you have perfmon.exe on your system you can verify which counters do really serve your purpose and then programatically fetch the performance data for those counters.

I dont know if there is any such counter of Win9x or not.
0
 
LVL 11

Expert Comment

by:griessh
ID: 7178735
Dear 0x100

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "ambience"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/


PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7199778
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question