The calling values are, in order:
1424, -1744830463, 1, 4, 0, 4, 0, 0, 0
I have went thru all initializations in debug, line by line. I saw that it successfully identifies my ip address, that is i am using for internet. This is an Atheros miniPCI wifi card (on a Pci adaptor) i am using. There are also two lan ports in my pc, one is already connected to the notebook, for vpn.
This was knocked together really quickly, so there will be a lot of bugs. At first I thought of using WMI to get sent/recieved but the problem there is its global sent/recieved. This app uses subnet anding to determine local and remote bandwidth.
As for high cpu usage, thats because it basically inspects each network packet and then determines the size of them, I am sure if I work on it a bit more then I can find another way to get the packet size.
I tested this on my notebook that also has an Atheros card... I get the same error. I wonder if its the different between ethernet and wireless packets.