Merge branch 'master' of github.com:cboden/Ratchet
This commit is contained in:
commit
f2c4a300f3
@ -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
|
Loading…
Reference in New Issue
Block a user