views:

369

answers:

1

How to calculate the Network Bandwidth using Core Java Any pointers

+1  A: 
  • get the system time (Start);
  • download a file from somewhere;
  • get the system time (End);
  • perform some basic arithmetic using file.length and (End-Start).
Bart Kiers
I will slightly refine my question. I want to design a role based bandwidth distribution system, allocated bandwidth will be stored in a central database. Once the user logs into system, he will get to use the bandwidth allocated to him by the system administrator.How to distribute bandwidth of internet for my system in diffrent users?
rajesh