invisibleroads / invisibleroads/socketIO-client
Automatic Reconnect
- Dominant language
- Python
- Stars
- 441
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way for the client to detect a network loss and reconnect?
I tried .wait() then I tried with a .wait(seconds=15) and then look at the .connected probably and it is always true. I would get the app up and running and then pull the network cable for about a minute. The connected property always said true and even after plugging it back in, nothing happened. It was pretty much dead.
Am I doing something wrong? Any examples with auto reconnect? I see that it is suppose to send a ping on another thread. Maybe that isn't bubbling back up to me? Should that cause the wait method to unblock and exit or at least throw while I'm "wait"ing?
This was with v0.6.5
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.