On Unix systems, when a client lost the connection to c-treeACE Server, if it made another call to the server, the socket call raised an SIGPIPE exception. If the calling program did not handle this signal, the client process terminated. This was a problem for a program that did not want to handle the SIGPIPE exception but wanted to call CLISAM() and then reconnect to c-treeACE Server.
A state bit is now set in the client library when the connection has been lost. On subsequent calls, the socket is not used. If a function such as CLISAM() is called to close the connection, the client library cleans up the connection so that the client can reconnect.