element Posted March 2, 2004 Posted March 2, 2004 Hello, Is there any way to retrieve network statistics like the total bytes transferred during a network session on a NIC adapter? I've had a look in the Performance Counters under Network Interface but there is only bytes/sec counters. Any help is appreciated, Thanks, Tom Quote
wildfire1982 Posted March 3, 2004 Posted March 3, 2004 As no-one else has posted, i will have a go with an idea. I have never tried it myself but... you could try something called winpcap or something like that. Its used for network security so that you can detect all information going in and out of your computer. It might be a little bit too specific for what you want but other than that I cant think of a better idea. Quote Chris
element Posted March 3, 2004 Author Posted March 3, 2004 wildfire1982, Thank you for your response! I have investigated the winpcap library (http://winpcap.polito.it/docs/default.htm) and it looks interesting. It certainly appears to be able to provide some network statistics, which is great! When I figure out how to use it (it's all in C++ :S), and what it can really do, I shall post some examples/classes here so everyone can do it! Thanks again, Tom Quote
Shazbots Posted March 4, 2004 Posted March 4, 2004 Here is wrapper made for vb6 and should work with com refrerence: vb6 A C# one is also in development: C# - Shazbots Quote
morsnowski Posted March 25, 2004 Posted March 25, 2004 There are plenty GUI's out there for winpcap, unfortunately the c# one mentioned above hasnt been relesed yet. A nice one is called ANALYZER and comes from politecnico di torino. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.