-
Notifications
You must be signed in to change notification settings - Fork 99
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
Websocket Server not detecting when Websocket client is disconnected #71
Comments
What server impl are you using? Gil. |
Hello @gilmaimon, I didnt know that the server is not able to detect when the microcontroller is turned off. I am using the same server as in the referenced issue, the async one, maybe it is the same problem but now with the close packet. |
Sorry for the very delayed comment. In order to know which clients are actually alive, the server can send a "keep-alive" Also, just the act of trying to send a packet to the client will result in a tcp error (because no ack will be returned to the server), so you might not even need to wait for a pong. Gil. |
Thanks @gilmaimon, I appreciate your help |
Hello, this issue is almost the same as the one dedcribed here #44.
I am using your library to connect to a websocketserver (the same as the referenced issue).
The thing is that when I turn off the microcontroller which is working as a client, the server don't detect it.
In order to debug, I called the method close() and the server crashes when this happens.
I hope you can help me. Thanks in advance
The text was updated successfully, but these errors were encountered: