Hello,
I want to create a program that tells me the automatic download and upload speed of the internet.
Not full speed, but the current moment.
Suggestions, code, websites, everything is very welcome.
Thanks
Current speed D / U Internet
Started by jonnymr, Aug 01 2010 02:22 PM
1 reply to this topic
#1
Posted 01 August 2010 - 02:22 PM
|
|
|
#2
Posted 29 October 2010 - 10:23 PM
Hi,
You may want to study routines in IPHLPAPI.DLL unit. Search MSDN to find more details of routines it contains. Fortunately there is a free and open source project that wraps some of these routines to Delphi routines. Check that project here.
I think you will find that project is invaluable to you, since it has a sample project that exactly does what you want, i.e. tells you the size of downloaded and uploaded content for each network interface. However I must remind you that the "speed" information is not really accurate. Because that number is not reflecting the actual speed of your internet connection(s) capable of. It only tells you the amount of uploaded/downloaded content known at a given of time for a particular period of time (usually very small range). Yes, the speed information actually done by polling the amount of traffic and compare it with the result of previous poll.
You may want to study routines in IPHLPAPI.DLL unit. Search MSDN to find more details of routines it contains. Fortunately there is a free and open source project that wraps some of these routines to Delphi routines. Check that project here.
I think you will find that project is invaluable to you, since it has a sample project that exactly does what you want, i.e. tells you the size of downloaded and uploaded content for each network interface. However I must remind you that the "speed" information is not really accurate. Because that number is not reflecting the actual speed of your internet connection(s) capable of. It only tells you the amount of uploaded/downloaded content known at a given of time for a particular period of time (usually very small range). Yes, the speed information actually done by polling the amount of traffic and compare it with the result of previous poll.


Sign In
Create Account

Back to top









