Merge pull request #16 from igorw/patch-1

Un-indent `$server->run()` in README, use port 8000
This commit is contained in:
Chris Boden 2012-04-29 14:04:16 -07:00
commit 2a41d17393

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