
26 Sep
2013
26 Sep
'13
1 a.m.
On 25 Sep 2013 at 17:21, Chris Verges wrote:
Do you happen to know if writing a zero-length message would be enough to trigger the socket layers to reset without forcing data across the physical layer? (I'm in the middle of coding it up as a test, but figured I'd ask just in case you happened to know.)
Much better to turn on TCP keepalive (it's one of the socket options). Then you'll learn when the transport has gone away. Niall -- Currently unemployed and looking for work. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/