Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!brunix!cs222056 From: cs222056@cs.brown.edu (Muru Palaniappan) Newsgroups: comp.unix.questions Subject: Signal handling in server-client model Message-ID: <38863@brunix.UUCP> Date: 5 May 90 05:35:02 GMT Sender: news@brunix.UUCP Reply-To: cs222056@cs.brown.edu (Muru Palaniappan) Organization: Brown University Department of Computer Science Lines: 13 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@iris.brown.edu Thanks.