On 10/19/06, WL Gardner <[EMAIL PROTECTED]> wrote:
I have a Jabber based app that I wrote (using XIFF - a code library for Flash). The problem is that I sometimes get disconnected. My app thinks it is connected, but the server software I am using does not show the user I am connected as is connected. [...]
You need to implement keepalives. Just flush a whitespace down the wire every bit of idle time. It's out of stanza so meaningless, but keeps the TCP connection alive. Alternatively you may "IQ-ping" your server- for example ask jabber:iq:time. -- smk
