[comp.unix.questions] Internet stream socket question

bobg+@andrew.cmu.edu (Robert Steven Glickstein) (03/09/89)

How can a connected socket determine when its peer has closed the connection?  I
prefer to detect a remote close without having the peer send a "goodbye" packet,
if possible.

Thanks in advance,

-Bob Glickstein (bobg@andrew.cmu.edu)