Talk:Echo server: Difference between revisions

→‎Ruby example: Acknowledge the fix
(→‎Ruby example: new section)
(→‎Ruby example: Acknowledge the fix)
Line 9:
 
That Ruby example is wrong; the while loop accepts a new connection each time round and assumes that each time round the loop it will either close the new, connected socket or read a single line from it (and echo it) before dropping it unceremoniously without closing it. I find it hard to accept that this is correct! In particular, if you try to connect and send two lines of data to it, only the first one will be echoed. –[[User:Dkf|Donal Fellows]] 13:43, 1 December 2009 (UTC)
: It was fixed by [[User:Schultzi]]. Thanks! –[[User:Dkf|Donal Fellows]] 21:54, 6 December 2009 (UTC)
Anonymous user