Help needed in getting the data transfer rate.
hi,
Can any body help me with getting the data transfer rate. i.e. what is the data rate that is downloading and what is the rate in the upload. For example the way we see in Kazaa or Shareaza etc....
Please help..This wld solve my last problem in the project.
regards.
Re: Help needed in getting the data transfer rate.
You would just calculate the following...
DataMovedinKB / ElapsedTimeInSeconds
If you're asking about how to find how much has been moved so far, or the elapsed time of the download... That's something different and is language specific. I have a feeling that's what you meant, am I right? :)
Re: Help needed in getting the data transfer rate.
@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
Re: Help needed in getting the data transfer rate.
That would affirm my feeling. I was waiting for a language before I started tossing out samples or trying to explain what would need to be done. :)
Re: Help needed in getting the data transfer rate.
Quote:
Originally Posted by sevenhalo
That would affirm my feeling. I was waiting for a language before I started tossing out samples or trying to explain what would need to be done. :)
well were on vbforums.com ;) so unless otherwise stated I would guess VB, plus one of techies other threads in this forum is regarding VB
Re: Help needed in getting the data transfer rate.
hey people thanks for the response...
Regarding the question related to the language i am using, its VB6.0 and the OS is WinXP if u want to know abt the OS as well..
Sevenhalo if u have any sample code then pls do give it to me. thankx a lot again.