-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto reconnect missing features ? #25
Comments
Hi, Yes, it will not reconnect When time permits it, I will add a timeout option to auto-reconnect |
I understand thanks for quick reply. I decided to use ESP.reset() or, ESP.restart() when detect disconnection from Socket server. Seem only this way. i hope someone have better idea. |
my goal is to add directly to the function connect a new timeout argument. |
Hi @tabvn!
|
if you do that, you will loose connection and if need be, you will reconnect you can also user a timer library to send a ping from the ESP to make sure the connection never dies |
I am a bit confused on how i should be sending ping from esp? is this what the heartbeat function is for? If so. how is it used? |
it works fine however turn off socketio server for 1 second and start it
ESP8266 could not auto reconnect again socket send and receive now lost.
i hope this features could be added son.
The text was updated successfully, but these errors were encountered: