RE: closing client connection problem

2006-04-05 Thread Gayathri Sundar
AFAIK, tcp read can return Zero, as numbytes read, and does not mean than the fd is invalidated. I think you should use SSL_received_shutdown or something which checks if any close has been initiated by the server..   Attempting write when a close was received will result in sigpipe.. ---

closing client connection problem

2006-04-05 Thread michael Dorrian
If the server returns an error my client does not shut down the connection. I think i have to use SSL_Read and then if the return value is less than or equal to 0 then i just break. The problem is that when i use SSL_Read then my SSL_write does not seem to work...why is that.or is there