Network bandwidth using java

Hi, Can u plz tell me how to find network bandwidth using java.
[77 byte] By [Sun-Screena] at [2007-10-3 2:59:08]
# 1
Send a chunk of data and see how long it takes
LRMKa at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 2
Hi, Thanks 4r ur reply. U mean to send a chunk of data from a client to server and measure the time for that transfer of data.
Sun-Screena at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 3
!
ejpa at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 4
A for comprehension.Z for necessity. Can u tell me briefly about this.
Sun-Screena at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 5
You'll only repeat it back to me and tell me what I mean. That's what I was commenting on.
ejpa at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 6

Hi,

When i have sent a chunk of data,the time taken for its transfer is the same in all the casesi.e no matter how many bytes are transferred. There is no difference between the sent time and received time in some cases.

So can any of you tell me if there is any other alternative to measure the bandwidth of the network.

Thanks.

Sun-Screena at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 7
Send much bigger chunks. This can only happen if you send small amounts of data. Send a few megabytes.
ejpa at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...
# 8
Sounds to me like you have infinite bandwidth. You should start selling it.:-)
dannyyatesa at 2007-7-14 20:48:42 > top of Java-index,Core,Core APIs...