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.
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.