Un-indent $server->run() in README, use port 8000

This commit is contained in:
Igor Wiedler 2012-04-30 00:00:39 +03:00
parent 550b32e1e7
commit 8264616454

View File

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