after discussing with Skan about the discrepancy between the script and netstat.exe, in this very thread, I realized that the loopback (24, in your first interface 1 : 24 : 5, indicates it's a loopback interface) may not be a particular target of netstat.exe. It may simply try to sum up the data of all the interfaces.
So, I may also do it here.
What I'm concerned atm is, however, whether we have to include the loopback interface too or not.
I'd like to hear about the opinion of yours and other users on it.
Sean, try LanSpeed2 when you have time: <!-- m -->http://httpd.chello....nosta/orcasoft/<!-- m --> . It allows you to select an adaptor, and you can run multiple instances by renameing the exe. The setback is that it has too much fancy things that one does not need.
We may run in to compare the results.
My existing setup is :
NIC attached to a ADSL2 / 256Kbps / Data Limit: Day Usage: 1GB Data per month / Night usage: Unlimited.
The existing script helps me to keep a check on Sent/Recvd so that I do not exceed my day usage bandwidth limits. My previous attempt was to ControlGetText from LAN dialog and show the bandwidth on the start button. But I could never automate the opening of the dialog . ( See: How to start the "Local Area Connection Status" )
Now I have decided to sign for an additional ISP for better browsing speed. ( I will be retaining the current for my downloading needs ). I will be adding another NIC and modem and will be simulataneously using both the connections from different browsers. ( I am yet to find if it possible :roll: )
The additional setup would be:
Additional NIC attached to a ADSL2 / 2Mbps / Data Limit: A meagre 350MB per month.
So my future script will have to monitor and display data for two adaptors with a single script in a compact GUI. :roll: