Test internet speed
I am trying to develop a tiny internet speed tester, just for fun.
I am probably doing everything wrong :o:o because I am not a programmer and well, everything I am doing is trying to learn a little bit.
The point is, I do not know how to calculate the true internet connection speed !!
Firstly I tried to do it downloading something from internet and timing the time it took but the results where always around 300kbites/s, and obviously this is just a punctual speed for a particular connection...
After that I have tried to do lots of downloads at the same time using threads and looking (wrongly thinking that after that I could just sum the speeds) but I realize of this was uselessness...
So, now I'm lost.
Does anyone have any idea of how can I do this?