Merge pull request #16 from igorw/patch-1
Un-indent `$server->run()` in README, use port 8000
This commit is contained in:
commit
2a41d17393
@ -86,7 +86,7 @@ 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
|
Loading…
Reference in New Issue
Block a user