3.1.2.4 KeepAlive Retry Timer

The KeepAlive Retry Timer sends a minimal reliable packet to keep the connection alive when no traffic has been received from a peer for a specified time interval. The recommended time for inactivity is 25 seconds, and the granularity on the timer is four seconds. The interval time can be modified according to application and network requirements.

This timer SHOULD start immediately after the successful completion of a Keep Alive exchange as documented in section 3.1.5.1 for a single-client scenario or in section 3.1.5.2 for a multiple-client scenario.

When a particular peer is marked as disconnected, the timer SHOULD be stopped for that peer.