This is for Xsockets.
I have a client connected to a socket, lets say the client looses internet connection, is there a xSocket function that will get called on the client that will let me know that the client (itself) is not connected to the socket anymore?
Currently, im just getting a error:
WebSocket is already in CLOSING or CLOSED state.
I know that the socket itself knows that the client is disconnected, but how can the client know that its diconnected?
The XSockets.Events.onError and XSockets.Events.close functions are not called.
PS: Im running 3.0.3