On 9 April 2013 15:28, Jan Bares <[email protected]> wrote: > I cannot find any documentation about how C++ broker detects dead clients. > In client I can set heartbeat/idle_timeout - this will allow client to > detect dead broker but I have not found any documentation how broker can > detect dead clients. It even seems like broker doesn't use TCP_KEEPALIVE. > > Can anyone help me? >
The broker will use heartbeats for those connections where the client negotiates a non-zero interval for them. It doesn't use TCP_KEEPALIVE.
