JabberClient keep alive setting

44 views
Skip to first unread message

mh_jabber_user

unread,
Jul 24, 2013, 4:59:44 PM7/24/13
to jabbe...@googlegroups.com
I would like my client to find out asap when server connectivity is lost, so I tried setting different values for the KeepAlive property.  No matter if I set the value to 10, 5, or 1 second, it seems to take always 20 seconds for the client to realize it is disconnected.  I took a look at the source code, and I see that 20 seconds is the default keep alive value.  It seems to me, though, that once connected, the source code does update the keep alive interval from the property value.  Has anyone else had any success with setting short keep alive intervals or any other methods of getting the client to realize asap when it is disconnected from the server?  Thanks in advance.
Reply all
Reply to author
Forward
0 new messages