Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

How to detect that a client disconnected due to network failure

$
0
0

Hi,

I am developing an IM mobile application and I'm still new at Openfire which I am using as my server. The problem I am facing is the following: the Openfire server does not detect automatically when a client disconnects due to a network failure (for example if he looses his wifi connection...) and hence waits for a certain timeout before considering the client to be offline. This is bad since any message sent to this client during the timeout will be lost since the server will not store as it considers this client ot be still online. Hence I need to know if there is any method to detect from the server that the connection with the client has been lost due to network failure.

 

Any ideas?

 

Thanks.


Viewing all articles
Browse latest Browse all 10742

Trending Articles