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
|
||||
$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
|
Loading…
Reference in New Issue
Block a user