0

This was a follow up question to a large design question i was asked. The objective is to find and report the result of speedtest between two end points in the networks(Server and client).

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
user804979
  • 913
  • 1
  • 6
  • 9
  • Search for Internet Control Message Protocol (ICMP) Echo – Josh Jul 12 '12 at 16:17
  • So in general the objective of speedtest would be to send packets of a particular size with a Protocol such as PING and ICMP so that based on the number of packets (Number of Pings ) you were able to do in per second would give you the speed of the n/w ? Is that what you are proposing ? – user804979 Jul 12 '12 at 18:25
  • That's how I would do it. It would at least give you a decent average. It also allows you to see the overall speed from A to B as well as the speed of each individual hop. For example, A to B doesn't mean A connects directly to B. There may be in-between hops such as A goes to X, then X to Y, then Y to B. – Josh Jul 12 '12 at 18:57
  • Using ICMP/Ping protocols and obtaining average speed (Bytes / sec) is correct, but would it be a good indicator of speed of other protocols http(which i guess is probably meant in the OP) or ftp ? Just a query. – goldenmean Jul 13 '12 at 21:18
  • Well no protocol was specified but since the question was about file transfer ftp would the most probably used here, but if icmp is used for packet transfer then since its really raw byte data which we are measuring then i would say icmp would give a good indication of what is the average speed in network. I was thinking of coding this and would like to know may be in java what is the way to so this kind of message exchange , is there a library i can use ..any ideas ? – user804979 Jul 14 '12 at 00:45

0 Answers0