Results 1 to 6 of 6

Thread: Help needed in getting the data transfer rate.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Posts
    30

    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.

  2. #2
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    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?

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

  4. #4
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    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.

  5. #5
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Posts
    30

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width