Signal handling in server-client model

Muru Palaniappan cs222056 at cs.brown.edu
Sat May 5 15:35:02 AEST 1990


I have a simple server-client model with a TCP stream connection on the
internet domain. Both the server and client read from and write to the other
synchronously.

If the server or the client terminates unexpectedly (terminal interrupt
etc.), how can the other sense this and return to its regular processing
loop (ignoring read/write to the sock) instead of terminating (due to a SIGPIPE
signal).

Please reply by e-mail to muru at iris.brown.edu

Thanks.



More information about the Comp.unix.questions mailing list