This docklet shows upload/download transfer rates for the selected network adapter.
Still under development, I hope to receive feedback so I may conclude it's development.
It should work both on vista & XP (tested with Object Dock, Object Dock+ & RocketDock), it uses WinHTTP API & Winsock 2 API, it retrieve performance data (upload/download/transfer rates & adapter bandwidth) from windows perfomance counters.
I need it to be tested with several network adapters (brands/models) to streamline the code... please give it a try and send me your comments.
Uptade:
08/16/2008 - Changed the performance counter capture process to correct several bugs & a problem that prevented it to show the correct stats under Windows XP (yet I need confirmation that it is working well now), added "Show IP Address" to the label configuration options.
08/18/2008 - Added Grhap mode for displaying statistics in a graphical format.
23/09/2008 - Added an option to hide the icons, so it is now possible to show the transfer graphs without anything behind it. Also fixed some bugs that prevented to change the icon set used. Finally I have replaced the original icon set by a custom icon set created & contributed by Andreas Dirscherl for this docklet (www.andreas-dirscherl.de) thanks man!
03/04/2010 - Updated this guy to properly scale graphs (they were being drawn outside of the graph area for bandwidths over 1 MB, added skinning options to control graph colors, changed background selection tab to make it easier to select the icon set for the docklet, added graph configuration settings, and fixed quite a few bugs. Tested under Windows 7 (64 & 32 bits), Windows Vista & Windows XP.
Important:
* In order to retrieve the performance counter data I need to "Normalize" the Adapter Name so I can find the proper instance name among the performance counter data. During the development of the code I found that some characters from the Adapter Name are changed (this is what I mean by normalized) to a different set of characters in order to find a match. I was not able to find any MSDN information on this, so my code currently does what I found for my network adapters, (characters like '(', ')' are changed to '[' and ']' and characters like '/' and '#' are changed to '_'). If you find yourself in the situation where the adapter protocol is actually retrieved but there is no information for bandwith metering I believe it must be something related to this "character substitution", please write down the adapter name shown in the docklet and compare it to the instance name shown in the performance monitor (if you know what I mean), and post both here, so I am able to add the required conversions to the docklet.
NetworkMonitorDocklet - 0.1.0.5g.zip





Aqua-Soft Forums



