locked
Formula to calculate Bandwidth RRS feed

  • Question

  • Hi,

     

    I have created a java code in which i transfer files between programs using different ports.

    Everything goes fine.

    Files get uploaded as well as downloaded between ports.

    Now what i need to do is to find the bandwidth for the file transfer .

    Can anyone suggest me a formula to find the bandwidth since im new to network.

    I have the details of speed and total time taken.

    Pls suggest me a formula..

    Thanks in advance.

    Regards,

    Siva.

    Sunday, March 20, 2011 11:13 AM

All replies

  • Bandwidth is defined as amount of data over time.  So just take the total amount of data sent, perhaps in KB and divide by the time it took in seconds, and this will give you KB/Sec.  If you are comparing to another bandwidth number baseline, you might want to convert it to the same base units.

    Paul

    Tuesday, March 22, 2011 3:00 PM
  • hi siva, could u please tell me how u have calculated the speed and time taken for file tranfer.im new to java..i would be thankful if u help me out. thank u in advance.
    Thursday, April 7, 2011 12:55 PM