how can i monitor the internet connection speed ??
which api shall i use ?
i already made a program that connect to the net using
the api Rasdail , now i need to know how can i know the connection speed, bytesent , byte resiceved ..etc
i have search the MSDN but i found nothing , or found apis that works on winNT only.
thanks for your time.
which api shall i use ?
i already made a program that connect to the net using
the api Rasdail , now i need to know how can i know the connection speed, bytesent , byte resiceved ..etc
i have search the MSDN but i found nothing , or found apis that works on winNT only.
thanks for your time.
this would require to monitor the current data rate of the IP stack from windows,
dont know if this is possible :confused:
you could take a look in the Performance Data Helper API (Pdhxxx functions)
which is used also by the little windows tool (in german windows: Systemmonitor)
that shows memory usage, hard disk access and more as little charts.
dont know if this is possible :confused:
you could take a look in the Performance Data Helper API (Pdhxxx functions)
which is used also by the little windows tool (in german windows: Systemmonitor)
that shows memory usage, hard disk access and more as little charts.
I have done this in a little program i wrote called netload, like dumeter.
you can download it from here
http://asmsource.8k.com/source32.htm
basically you get how much data has been transferred for each adapter using the GetIfTable, part of the iphlpapi library.
you can download it from here
http://asmsource.8k.com/source32.htm
basically you get how much data has been transferred for each adapter using the GetIfTable, part of the iphlpapi library.