Open undsoft opened 7 years ago
I can work around it by marking client as disconnect in on close and then actually telling everybody about it in on message. Still would be nice to fix this or at least document it.
Hello,
I am in the opposite side of the world right now and I can't work on this issue. Maybe @vonglasow or @Pierozi?
Hi,
I have several JS clients connected to websocket server. They are organized into channels (I store Node objects). Now one of the clients (client A) disconnects. In PHP server, I'm listening to 'close' event and want to tell other clients in that room that A has disconnected.
Here's my code:
However, when I do this I get this message:
Any ideas?