0

Hi.. I need a java program to find out the bandwidth in LAN.. Please help me in solving out this problem soon... Thanks in advance..

2
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by JamesCherrill
0

Create a Socket connection between two programs running on different machines on the LAN. Send a lot of data (megabytes) from one to the other and record how long it takes.
You'll find all the info you need on Java Sockets by searching the web. Come back here if you get stuck.

0

how to retrieve those socket information?? Can u please describe it in coding..

0

www.google.com - if that's too hard then give up now.

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in coding your homework for you.

DaniWeb Member Rules include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/forums/faq.php?faq=daniweb_policies
http://www.daniweb.com/forums/announcement8-2.html

0

Can we calculate the bandwidth by adding the file size and the network throughput? Is it a correct way..?

0

Bandwidth is Megabits or Megabytes (whichever you prefer) per second. So you divide the file size by the time. Eg 100 megabyte file takes 5 seconds, bandwidth is 20 MBytes/sec or 160 MBits/sec

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.