Merge branch 'master' of github.com:cboden/Ratchet

This commit is contained in:
Chris Boden 2012-04-29 20:43:17 -04:00
commit f2c4a300f3

View File

@ -84,9 +84,9 @@ class Chat implements MessageComponentInterface {
} }
} }
// Run the server application through the WebSocket protocol // Run the server application through the WebSocket protocol
$server = new IOServerComponent(new WebSocketComponent(new Chat)); $server = new IOServerComponent(new WebSocketComponent(new Chat));
$server->run(80); $server->run(8000);
``` ```
# php chat.php # php chat.php