Hello Lambdabit and all Dev-C++ users,
Sunday, April 6, 2003, 4:33:46 PM, Lambdabit wrote as follows:
LJGS> how can I get the speed of my net interface's connection and the packages sent and received?
By calling Win32 API function named GetIfTable you get CURRENT bytes
sent and received for every interface (including loopback)... if you
call this function every 1sec (using timer) you can easly obtain speed
in bytes... but remember that this gives you total network load -
every byte of packets counts...
for more info and examples check msdn.microsoft.com
LJGS> Thanks!
--
regards, Zodiaq
|