I believe that the Windows Performance Counters are for the local
connection only.  They tell you nothing about the connection of the LAN to
the internet.  They cannot even reliably tell if a computer has a
connection to the internet.

jm7


                                                                           
             David Anderson                                                
             <[email protected]                                             
             ey.edu>                                                    To 
             Sent by:                  Rom Walton <[email protected]>       
             <boinc_dev-bounce                                          cc 
             [email protected]         Charlie Fenton                      
             u>                        <[email protected]>, BOINC  
                                       Developers Mailing List             
                                       <[email protected]>        
             02/19/2010 06:05                                      Subject 
             PM                        [boinc_dev] 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.



_______________________________________________
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.

Reply via email to