I want to know what is the best way to get the download speed.
My idea is to start a 1 second timer when the download starts that will display how many bytes have been downloaded during this 1 second.
Should I implement it this way, or is there's a better way?