<i>WinSock cores/hangs on thread or app exit</i> status still Open with 4 other changes
by
.
D 2006-03-10T20:40:23
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nAh,\sAndreas.\sregarding\syour\shint\sabout\slazy\shandling\nthe\ssocket\ssubsystem\sinit/teardown,\sthe\sanswer\sis\nunfortunately\sNO,\srather\sthan\syes.\n\nWhy?\n\nBecause\sthis\sthing\swill\sjust\sneedlessly\sinit/teardown\nthe\ssubsystem\sexactly\s1000\stimes\swhich\sis\s999\stimes\s\ntoo\smuch:\n\n\s\stime\s{close\s[socket\s$host\s$port]}\s1000\n\s\nif\sthere\sare\sno\sother\ssockets\sopened\sin\nthe\sprocess.\s\n\nI\sbelieve\swe\sshould\skeep\sexplicit\steardown.\n\nI\salso\sbelieve\swe\sshould\sintroduce\sexplicit\ninit\sas\swell,\srather\sthan\scheckin\sthe\sstate\nof\sthe\ssubsystem\sall\sthe\stime\sby\sthe\sInitSockets().\nThis\snew\scall\scan\sbe\spart\sof\sthe\sTcl\slib\sbootstrap\nduring\sinitialization\sof\sthe\sIO\ssubsystem.\sThis\nway\sit\swill\sbe\ssymetric\sand\seasy\sto\sunderstand.\n\nWhat\sdo\syou\sthink?\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 1437595fffffffffffffffffffffffffffffffff
U vasiljevic
Z 0748d6ae1d893790f2135378cd84a4fc