processing_websockets
processing_websockets copied to clipboard
Stops receiving Messages after a while
Im connected to a SocketIO server locally.
wsc= new WebsocketClient(this, "ws://localhost:8080/socket.io/?EIO=3&transport=websocket");
It works fine, I keep sending mouse coordinates with no problem. But after a minute or so, it stops recieving the messages, it looks like if it is disconnected, but I see no message on the console or anything. It simply stops receiving messages, and I have to relaunch the sketch so it starts again.
I wonder if it is because of this:
https://stackoverflow.com/questions/44882256/jetty-websocket-idletimeout
Something to test.