summaryrefslogtreecommitdiffstats
path: root/mac/tclMacUnix.c
diff options
context:
space:
mode:
authorjingham <jingham>2000-04-24 06:43:29 (GMT)
committerjingham <jingham>2000-04-24 06:43:29 (GMT)
commit62795e61e4cdf5d2fc320f9354c26da0bb6dc92e (patch)
tree67079dababc69ddab47751106086c9b20ff6ef27 /mac/tclMacUnix.c
parent319d5d4b17dc81aceb496cc4cc4bc3d4e670a1e0 (diff)
downloadtcl-62795e61e4cdf5d2fc320f9354c26da0bb6dc92e.zip
tcl-62795e61e4cdf5d2fc320f9354c26da0bb6dc92e.tar.gz
tcl-62795e61e4cdf5d2fc320f9354c26da0bb6dc92e.tar.bz2
2000-04-23 Jim Ingham <jingham@cygnus.com> These changes make some error handling marginally better for Mac sockets. It is still somewhat flakey, however. * mac/tclMacSock.c (TcpClose): Add timeouts to the close - these don't seem to be honored, however. * Use a separate PB for the release, since an async connect socket will still be using the original buffer. * Make sure TCPRelease returns noErr before freeing the recvBuff. If the call returns an error, then the buffer is not right. * mac/tclMacSocket.c (CreateSocket): Add timeouts to the async create. These don't seem to trigger, however. Sigh... * mac/tclMacSocket.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT socket errors out, then return EWOULDBLOCK & error out. * mac/tclMacSock.c: (NotifyRoutine) Added a NotifyRoutine for experimenting with MacTCP.
Diffstat (limited to 'mac/tclMacUnix.c')
0 files changed, 0 insertions, 0 deletions