diff options
author | jingham <jingham> | 2000-04-24 06:43:29 (GMT) |
---|---|---|
committer | jingham <jingham> | 2000-04-24 06:43:29 (GMT) |
commit | 62795e61e4cdf5d2fc320f9354c26da0bb6dc92e (patch) | |
tree | 67079dababc69ddab47751106086c9b20ff6ef27 /generic/tclAlloc.c | |
parent | 319d5d4b17dc81aceb496cc4cc4bc3d4e670a1e0 (diff) | |
download | tcl-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 'generic/tclAlloc.c')
0 files changed, 0 insertions, 0 deletions