Android Question Web Sockets clients reconnections

tigrot

Well-Known Member
Licensed User
Longtime User
Hi everybody,
I was wondering about a client which looses connection and reconnects after a short time. Have I to force the first connection close during the new "connected" event? If this is not automatic I have two threads dealing with the same client but the older is a phantom if the reconnection is done before the timeout expires.
This is what I do with normal TCP/IP connections: I test that the same client is not present at the same time on two connections.
Thank you in advance.

Mauro Zanin
 
Top