Gratulation, your websocket was the only one I actually was able to run...
Playing around, I noticed an error occurring every time I tried to send ($this->send($user, 'hallo!')) something to greet a connected user. Seems, that handshaking is necessary before sending, so perhaps you move $this->connected($user) from line 86 to line 188.
Lorenz
Gratulation, your websocket was the only one I actually was able to run... Playing around, I noticed an error occurring every time I tried to send ($this->send($user, 'hallo!')) something to greet a connected user. Seems, that handshaking is necessary before sending, so perhaps you move $this->connected($user) from line 86 to line 188. Lorenz