ghedipunk / PHP-Websockets

A Websockets server written in PHP.
BSD 3-Clause "New" or "Revised" License
917 stars 374 forks source link

$this->connected($user) #3

Closed giefingl closed 12 years ago

giefingl commented 12 years ago

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

ghedipunk commented 12 years ago

Sorry for the delay... Glad that you're able to use this!