aspose file tools*
The moose likes Distributed Java and the fly likes Java program to measure actual available bandwidth of my internet connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Java program to measure actual available bandwidth of my internet connection" Watch "Java program to measure actual available bandwidth of my internet connection" New topic
Author

Java program to measure actual available bandwidth of my internet connection

Akon Dev
Greenhorn

Joined: Nov 19, 2010
Posts: 2
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.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
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

Joined: Nov 19, 2010
Posts: 2
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Java program to measure actual available bandwidth of my internet connection