In tcp it seems the only reliable way of detecting disconnects is by reading 
from from the socket. Send does not detect disconnects reliably. And even then 
there might be corner cases. So useing some kind of timeout or keepalive (in 
addition to detectable disconnects) seems mandatory.

Reply via email to