
15 Dec
2009
15 Dec
'09
4:03 a.m.
On Mon, Dec 14, 2009 at 8:50 PM, Scott Gifford
Jonathan Franklin
writes: On Mon, Dec 14, 2009 at 10:52 AM, Nicola Michael Gutberlet You generally have to do a read on the socket to reliably detect when the other side has closed (or crashed).
And a write, too, or else use TCP keepalives.
Unfortunately, write isn't reliable since it will always succeed until you fill up your send buffer. Jon