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.