Report question

Question: How to use SO_KEEPALIVE option properly to detect that the client at the other end is down?