From: Daniel A. S. <st...@ic...> - 2001-08-24 12:17:20
|
At 10:29 +0100 on 24/8/01, Andrew Wilson wrote: >You're not going to like this... no indeed not... the socket code has gotten worse over time while the source hasn't changed, we think it is due to the fact that it still uses mactcp emulation code in opentransport and that that part of OT has deteriorated because nobody much uses it anymore. I don't plan to look too hard at that code however, it's just too old and messy, OSX would have become prevalent before I finished updating this code to OS9 standards... maybe somebody more interested in networking and more familiar with OpenTransport could take a look? >--- cut here --- >set conn [socket "www.yahoo.com" 80] >--- cut here --- > >--- cut here --- >wm protocol . WM_DELETE_WINDOW shutdown > >set conn [socket "www.yahoo.com" 80] > >proc shutdown {} { > global conn > close $conn > after 500 > destroy . >} >--- cut here --- this is good info, thanks a lot. I mostly uses Tcl sockets communication on LAN's myself, so the timeout issue hasn't come up Until somebody fixes this, it will just have to be a thing to be careful about for mac tcl users... Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |