Subject: Cannot reconnect when presence is "stolen"
I've implemented reconnect logic as described in other threads, and it seems to work fine for network problems. However, if presence is "stolen" -- that is another application with the same presence information is created (on the same workstation) -- then the reconnect does not work. If I fully recreate the XmppClient object then it does seem to work.
In my OnClose() handler I call Close() (just in case) then set up a timer to call Open() every 20 seconds. Note that I use the BeforeSendPresence handler to know that my connection is ready. However, the SendXML handler is never even called so it doesn't look like my calls to Open() are having any effect...
In my OnClose() handler I call Close() (just in case) then set up a timer to call Open() every 20 seconds. Note that I use the BeforeSendPresence handler to know that my connection is ready. However, the SendXML handler is never even called so it doesn't look like my calls to Open() are having any effect...