Skip to content
Tcl Source Code Check-in [406aaa947b]
Login

Check-in [406aaa947b]

Overview
Comment:2000-04-23 Jim Ingham <[email protected]> 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 406aaa947bb834dc28c69fbc0128db6ccb23905e
User & Date: jingham on 2000-04-24 06:43:29.000
Other Links: manifest | tags
Context
2000-04-24
06:46
*** empty log message *** check-in: 26e0b4a97b user: jingham tags: trunk
06:43
2000-04-23 Jim Ingham <[email protected]> These changes make some error handling margina... check-in: 406aaa947b user: jingham tags: trunk
2000-04-23
03:37
*** empty log message *** check-in: d202742949 user: jingham tags: trunk
Changes