@sevehalo he just wants to display the download speed on the client, and upload speed on the server.

@krishna you need to use a timer, and you need to log the amount of data which is sent so you can compare with the timer and calculate the transfer rate