Path: utzoo!news-server.csri.toronto.edu!rpi!usc!samsung!noose.ecn.purdue.edu!ei.ecn.purdue.edu!irick From: irick@ei.ecn.purdue.edu (GarBear Irick) Newsgroups: comp.unix.questions Subject: processes revisited Message-ID: <1991Mar18.132647.25113@noose.ecn.purdue.edu> Date: 18 Mar 91 13:26:47 GMT Sender: root@noose.ecn.purdue.edu (ECN System Management) Distribution: usa Organization: Purdue Society for Better Computing Lines: 11 OK, here comes a followup to the last question! I am using wait() now to reap the defunct children, and it seems to work. There is a small problem, though... when I use telnet to connect to the server, and the socket is closed, telnet doesn't give me the "Connection closed by foreign host." message. IT just... HANGS. How do I close off the connection so that telnet will recognize it has been shut down, and exit? -- Gary A. Irick, Purdue University | "You can log out any time you like, INTERNET: irick@ei.ecn.purdue.edu | But you can never leave!" UUCP: ...!pur-ee!irick | (apologies to The Eagles)