Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to measure internet upload download speed

843790Sep 24 2009 — edited Oct 29 2009
Hi all

I am facing the problem related to calculation of upload/download speed, what I have written the code it is not giving the accurate upload/download speed which is verified by speadtest.net website. In this code, I have used tcp protocol for uploading and downloading. I am calculating the upload/download speed in following way

download speed = (total packet received)/(total time taken to receive all packet)
upload speed = (total packet sent)/(total time taken to send all packet).

Please help me why I am not getting the accurate internet up/down speed result.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2009
Added on Sep 24 2009
6 comments
516 views