• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java program to measure actual available bandwidth of my internet connection

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need a java program to measure actual available bandwidth of my internet connection.

The general samples available download/upload a file. Later the file size is divided by the time taken for download/upload. I need alternate ways of measuring other than this.

Please respond with any ideas on this. Thanks in advance.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since a download involves only a single Thread doing packet at a time, the rate is no where near your full bandwidth. I suspect a BitTorrent download, involving multiple threads would come closer.

What kind of connection do you have? My cable modem can report total number of bytes sent/received, which would be more useful than the file size.

Bill
 
Akon Dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
William, Thanks for the reply. Actually, I am not opting for dowload/upload of file or torrent. I am looking for ways other than this.

I have a broadband connection. I need a prgramatic way to measure the actual available bandwidth of my internet connection at a point of time.
reply
    Bookmark Topic Watch Topic
  • New Topic