From f529d3630540951cc8b2f4db58d7fad4e091ac50 Mon Sep 17 00:00:00 2001 From: thrashr888 Date: Mon, 9 Jul 2012 03:09:54 -0700 Subject: [PATCH] updated socket connection event name based on react-php/react commit 70bc398270c8dc8f2cb8e7b9fbf2dbbf96599fd2 --- src/Ratchet/Server/IoServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ratchet/Server/IoServer.php b/src/Ratchet/Server/IoServer.php index 34c1160..9faa295 100644 --- a/src/Ratchet/Server/IoServer.php +++ b/src/Ratchet/Server/IoServer.php @@ -41,7 +41,7 @@ class IoServer { $this->loop = $loop; $this->app = $app; - $socket->on('connect', array($this, 'handleConnect')); + $socket->on('connection', array($this, 'handleConnect')); $this->handlers['data'] = array($this, 'handleData'); $this->handlers['end'] = array($this, 'handleEnd');