Answer the question
In order to leave comments, you need to log in
How to reconnect client to server?
There is a client application that can lose connection with the server for various reasons (network loss, server crash, etc.)
Now I incrementally change the reconnect attempt time up to 5 minutes.
That is, the first attempt after one second, after two seconds the second attempt, after three seconds the third, etc.
I would like to know what is the most efficient way to automate preconnection?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question