Results 1 to 5 of 5
- 09-17-2008, 06:21 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
How to calculate/get the downloading speed of the internet??
Hi,
can anybody plz tell me how can i get the downloading speed of internet.
i am trying to download one file from internet using the java code.
we can easily calculate the downloading speed if we know the file size and internet speed per sec.
How can we get the internet speeed?
help me
- 09-17-2008, 02:49 PM #2
What is the internet speed? If it takes n seconds to download y bytes then the download speed would be y/n bytes/sec
Use System.currentTimeMillis() for the time and accumulate the bytes read by saving the return value from read() method
- 09-18-2008, 04:21 AM #3
- 10-22-2008, 10:33 PM #4
Member
- Join Date
- Oct 2008
- Posts
- 24
- Rep Power
- 0
Is there a way to limit the download speed so the connection doesn't use all the bandwidth, if I'm using a HttpUrlConnection?
- 10-22-2008, 11:11 PM #5
Similar Threads
-
same animation speed regardless of how power full the PC is.
By Mba7eth in forum New To JavaReplies: 3Last Post: 09-16-2008, 11:55 AM -
Downloading An Image
By a_klasanov in forum New To JavaReplies: 3Last Post: 07-31-2008, 10:34 AM -
[SOLVED] Downloading jconn3.jar
By DonCash in forum JDBCReplies: 1Last Post: 04-15-2008, 05:02 PM -
Problems with downloading Files from Applet
By Albert in forum Java AppletsReplies: 1Last Post: 07-05-2007, 05:09 AM -
compare speed
By bbq in forum JDBCReplies: 1Last Post: 06-28-2007, 05:34 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks