TCP keepalive?

Adams Sean <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>

What is the best way to enable TCP keepalive on a  
POE::Component::Client::TCP session?


I am using POE for home automation and I have connections which are  
often idle for hours, or only get traffic in the receive direction. In  
these cases there is no indication that the connection has failed if,  
for example, the endpoint resets due to power outage.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.