Closed GoogleCodeExporter closed 9 years ago
The server is sending the number of waiting test clients.
However, I think that the documentation is correct, but the c/Java clients are
incorrectly treating this number.
The documentation is consistent with the c server code:
https://code.google.com/p/ndt/source/browse/trunk/src/web100srv.c#2421
Original comment by jslawin...@soldevelo.com
on 25 Nov 2013 at 2:22
I think treating N as "number of minutes" makes more sense than "number of
tests in line ahead of you", though I'm fine with either interpretation so long
as the client and server are consistent.
Original comment by AaronMat...@gmail.com
on 26 Nov 2013 at 1:04
If I understand correctly the c server code
(https://code.google.com/p/ndt/source/browse/trunk/src/web100srv.c#2421), the
expected behavior is to have the client wait Nx60sec. As a consequence, the
wiki is correct, as N is both the number of clients and the number of minutes.
OTOH, both the Java client
(https://code.google.com/p/ndt/source/browse/trunk/Applet/Tcpbw100.java#2483)
and the c client
(https://code.google.com/p/ndt/source/browse/trunk/src/web100clt.c#731)should
be changed to wait for 'wait' * 60 (instead of 'wait' * 45).
Could you confirm that this is the case?
Thanks again!
Original comment by tizi...@google.com
on 27 Nov 2013 at 8:01
Yes, in my opinion we should treat N as "number of minutes", so we should
update both clients to be consistent with the documentation and the server code.
Original comment by jslawin...@soldevelo.com
on 28 Nov 2013 at 9:06
Original comment by smale...@soldevelo.com
on 13 Feb 2014 at 2:11
Changes available on branch applet_103. Feel free to review.
Original comment by smale...@soldevelo.com
on 14 Feb 2014 at 10:09
Seems fine to me
Original comment by AaronMat...@gmail.com
on 14 Feb 2014 at 1:39
Original comment by smale...@soldevelo.com
on 14 Feb 2014 at 1:47
Original comment by skost...@soldevelo.com
on 23 Jun 2014 at 5:52
Original issue reported on code.google.com by
tizi...@google.com
on 22 Nov 2013 at 4:34