Another trick:<p>libkeepalive: library preloading to force linux programs support TCP Keepalive<p><a href="http:&#x2F;&#x2F;tldp.org&#x2F;HOWTO&#x2F;TCP-Keepalive-HOWTO&#x2F;addsupport.html" rel="nofollow">http:&#x2F;&#x2F;tldp.org&#x2F;HOWTO&#x2F;TCP-Keepalive-HOWTO&#x2F;addsupport.html</a>