Skip to content
Tcl Source Code Artifact [9df3209eed]
Login

Artifact [9df3209eed]

Artifact 9df3209eed953f5ce8b3833ca893225d75fa25b2:

Ticket change [9df3209eed] - Ticket [2446662fffffffff|2446662fff] <i>chanIO.test failures on Win32 msys/mingw</i> status still Open with 4 other changes by ferrieux on 2008-12-28 19:34:54.
D 2008-12-28T19:34:54
J icomment Update:\swe\scan\srelease\sone\sconstraint\s!\nIndeed,\sI\sget\sspurious\s"connection\sreset\sby\speer"\sand\sEOFs\seven\swith\scode\sdevoid\sof\sany\shalf-close\s(see\sbelow).\nSo\sonly\sone\sFIN\sfrom\sB\sis\sneeded.\sMoreover,\sthe\scode\sbelow\sclearly\sseparates\sthe\slast\sdata\swrite\sfrom\sthe\sclose\s(flush\sin\sthe\sserver,\sdistinct\sfrom\sexit),\sso\sthe\sFIN\spacket\sitself\sis\sseparate\sfrom\sthe\sdata.\sIt\sseems\sonly\sthe\s*timing*\splays\sa\srole\sin\sthat\snasty\sbug.\n\n#client\nset\s::s\s[socket\s$host\s$port]\nputs\s$::s\sHey1\nputs\s$::s\sHey2\nputs\s$::s\sHey3\nflush\s$::s\nwhile\s{[gets\s$::s\sline]>=0}\s{\n\s\s\s\slappend\s::acc\s$line\n}\nputs\sRESULT:$::acc\n\n#server\nproc\saccept\s{s\sargs}\s{set\s::sok\s$s}\nset\ss\s[socket\s-server\saccept\s$port]\nvwait\s::sok\nset\scnt\s0\nwhile\s{[gets\s$::sok\sline]>=0}\s{puts\s$::sok\s$line;puts\sstderr\sXMIT:$line;incr\scnt;if\s{$cnt>=3}\sbreak}\nputs\s$::sok\sDONE\nflush\s$::sok\nputs\sstderr\sWRITTEN\nexit\s0\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2446662fffffffffffffffffffffffffffffffff
U ferrieux
Z 0b45119c5ef2c67b149f3d6f9f0e93f2