From d63052263676891c816f2dbc51362eaa0e3dc048 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 22 Jun 2011 14:21:28 +0000 Subject: complete a comment in socket.test --- tests/socket.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/socket.test b/tests/socket.test index 85d4d6f..e36914f 100644 --- a/tests/socket.test +++ b/tests/socket.test @@ -74,7 +74,8 @@ proc randport {} { expr {int(rand()*16383+49152)} } # Test the latency of tcp connections over the loopback interface. Some OSes # (e.g. NetBSD) seem to use the Nagle algorithm and delayed ACKs, so it takes # up to 200ms for a packet sent to localhost to arrive. We're measuring this -# here, so that OSes that don't have this problem can +# here, so that OSes that don't have this problem can run the tests at full +# speed. set server [socket -server {apply {{s a p} {set ::s1 $s}}} 0] set s2 [socket localhost [lindex [fconfigure $server -sockname] 2]] vwait s1; close $server -- cgit v0.12