Skip to content
Tcl Source Code Artifact [c99ec5921a]
Login

Artifact [c99ec5921a]

Artifact c99ec5921aaa441803d1abf093ff753890808589:

Ticket change [c99ec5921a] - Ticket [13d3af3ad5b8e8eb|13d3af3ad5] <i>IPV6 only used for IPV4/IPV6 sockets on windows</i> status still Open with 3 other changes by dgp on 2014-06-26 15:58:35.
D 2014-06-26T15:58:35.760
J icomment Note\sthat\smerging\sthe\strunk\sbefore\swidespread\stesting\r\nwould\sbe\sa\sgood\sidea.\s\sAlso\sI\snoted\smy\sdispleasure\swith\r\nthis\simplementation\son\sthe\schat:\r\n\r\n\r\ndgp\tAt\sa\sminimum,\sif\smagical\sconfigurations\scannot\sbe\savoided,\swe\sneed\sto\sfind\ssome\sway\sto\snot\slet\sthem\sleak\sout\sinto\sthe\spublic\sinterface.\s\sThat\swould\slikely\stake\sthe\sform\sof\sa\stesting\ssocket\scommand\sin\sTcltest.\r\noehhar\tI\ssee\sno\sother\sway\sto\stest\swhat\swe\swant\sto\stest,\ssorry.\sFor\sexample:\s"set\sh\s[socket\s-async\s$h\s$p];fconfigure\s$h\s-blocking\s0;\sputs\s$h\sA;\sflush\s$h"\sand\sthen\sit\sshould\sfail,\swas\snot\spossible\swithout\sthis\sbecause\sit\ssometimes\sfailed\sin\sthe\s"setup".\r\noehhar\tThat\sis\sok.\sReinhard\shas\sproposed\sthe\ssame\sthing\swhich\sI\slike.\sI\sfirst\swant\sto\sknow\sif\sthis\seffectively\smakes\sthe\stests\spass.\sThen\swe\sknow\swhat\swe\sdo\sand\scan\sdo\sit\sbetter.\sReinhard\shas\sproposed\sto\sonly\sinclude\sthe\scommand\sin\sa\sspecial\stest\sbuild.\r\noehhar\tIf\syou\shave\sany\ssuggestions\show\sto\sdo\sit,\sthey\sare\swelcomed.\sUnfortunately,\sI\sdon't\shave\sthe\sknowledge\sfor\sthat\sand\sI\sdid\swhat\sI\scould.\r\noehhar\tBut\sfirst\sI\swant\sto\sknow\sif\sit\spasses\son\sMac...\r\n\r\noehhar\tTesting\ssocket\scommand\swould\sbe\sbest\sfor\sme.\sBut\show\smay\sa\sflag\sbe\sset\sin\sthe\sdriver\s?\r\noehhar\tSo\s"tcltest\ssockettest\s1"\ssets\sthe\sflag\sin\sthe\sdriver.\sBut\show\sto\simplement\sthat\s?\r\ndgp\tif\sit\scomes\sto\sthat,\swe'd\seither\sextend\s[testchannel]\sor\sinvent\s[testsocket]\sin\sgeneric/tclTest.c\sto\sgain\saccess\sto\swhatever\sinternal\sknobs\sare\sneeded\sto\sreliably\stest\swhat\sneeds\stesting.\r\ndgp\tBut\saugmenting\severy\ssocket\swith\sa\snew\s[chan\sconfigure\s....\s-unsupported]\soption\sis\sa\sNo\sGo.
J login dgp
J mimetype text/plain
K 13d3af3ad5b8e8eb20d673962d442dd64a40af40
U dgp
Z 54e1e2dfba93ecb86acfa64da0d20562