While looking for some more documentation I stumbled across a better set of APIs to use on Windows.
http://msdn.microsoft.com/en-us/library/aa365943(VS.85).aspx It appears GetIfTable() will get us what we need without the complexity of the perf counters. ----- Rom -----Original Message----- From: David Anderson [mailto:[email protected]] Sent: Friday, February 19, 2010 6:05 PM To: Rom Walton Cc: Charlie Fenton; BOINC Developers Mailing List Subject: monitoring network usage Linux: it's pretty easy, using /proc/net/dev. I'll do this. Mac: Charlie, can you see what's available? Windows: the "Performance Counters" API and/or its documentation looks pretty horrible. Rom (or someone else), can you please decipher it at some point? I need a function that returns total bytes sent/received on all interfaces. Rom Walton wrote: > http://msdn.microsoft.com/en-us/library/aa373083(VS.85).aspx > > This is actually the first time I have come across this set of Windows > APIs. _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
