D 2005-10-18T18:01:37 J assignee andreas_kupries J cmimetype text/plain J comment \nAttached\sscript\sis\sdemo\sof\sthe\sproblem.\nStart\sit\sin\sone\sshell\swindow:\n\n\s\s\s\stclsh\ssdtest.tcl\sserver\n\nto\sstart\sa\sserver\srunning.\n\nStart\sit\sin\sa\ssecond\swindow:\n\n\s\s\s\stclsh\ssdtest.tcl\sclient\n\nto\sstart\sa\sclient\sof\sthat\sserver.\n\nThe\sserver\sshell\swindow\sshould\nprint\sa\ssequence\sof\smessages\nit\sreceived\sfrom\sthe\sclient,\sstarting\nwith\smessage\s10\scount\sdown\sto\s1.\n\nThis\sworks\sfine\son\slinux\sand\nsolaris.\s\sOn\swindows,\sthe\soutput\ndoes\snot\sreach\smessage\s1,\sbut\ncraps\sout\sabout\s4\sor\s5\smessages\nshort\sof\sall\sthe\sdata.\s\sI\sdid\sWindows\ntesting\swith\sthe\sActiveTcl\s8.4.11.2\ntclsh.\n\nA\sminor\schange\sto\sthe\sclient\spart\nof\sthe\sdemo\sscript,\sso\sthat\sthe\nsocket\sis\sexplicitly\smade\sblocking\n*before*\sthe\sfinal\scall\sto\s[flush],\sand\nthe\sbug\sis\sworked\saround\sand\sall\ndata\spasses\sthrough\son\sWindows.\n\nThis\sshould\snot\sbe\srequired.\s\sSockets\nshould\snot\slose\sdata\son\sany\splatform. J foundin obsolete:\s8.4.11 J priority 5\sMedium J resolution None J status Open J submitter dgp J subsystem 27.\sChannel\sTypes J title non-blocking\ssockets\slose\sdata\son\sWindows J type Bug K 1329754fffffffffffffffffffffffffffffffff U dgp Z cf1ce32adeccadf56d1f6a0b51922192