powered by Jive Software

XIFF - reconnect after network failure

Hi,

I have a problem here.I’m did a chat with other user.Suddenly,the network gone down and came up. But,my chat was disconnected due to intermittent connectivity.

One solution is I should call my ISP to repair my network

I need to another solution. why XIFF is not having intelligence check the re-connectivity?

when debugged the XIFF code I found, In send() function of XMPPConnection.as its checking for isActive() (function returns returns true when connection is alive). once the connection is gone this isActive() function returns false.

Now,I got re-connected this time ideally speaking isActive() should return true but its returning to false.

Can anyone help me on how to make XIFF to understand the reconnectivity