Solved

Bandwidth Usage

Posted on 2002-05-13
3
201 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now