I am having a problem with a client-server app that I am developing. The
problem is that I have a TCP connection between the two of them and the
program gets into a state that the server is blocked trying to write to the
client and the client turns off his computer. As a consequence, the server
sits on the write() system call forever. I want to know why the server is
not notified with an error return that the client has broken the connection.
I would greatly appreciate any help that anyone can give me.
(P.S. I have already tried SO_KEEPALIVE to no avail)
James
__________________________________________________________________________
Don't Pay Attention To The Police Box Flying By