When using the TCP/IP communication protocol, a c-tree client may hang in a call to FairCom Server after a call to ctTempDir() returns. The client is waiting on a socket read. The logic has been modified to correct this problem. Similar changes were made to the following functions to ensure that they never return more data than the client expects: