mirror of
https://github.com/YGGverse/nex-php.git
synced 2026-03-31 17:55:31 +00:00
fix port number
This commit is contained in:
parent
a241dddbd2
commit
687af4849e
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ $server = new \Yggverse\Nex\Server;
|
|||
Provide optional `host`, `port` and `size` arguments in constructor or use available setters after object initiation.
|
||||
|
||||
``` php
|
||||
$server = new \Yggverse\Nex\Server('127.0.0.1', 1915);
|
||||
$server = new \Yggverse\Nex\Server('127.0.0.1', 1900);
|
||||
```
|
||||
|
||||
#### Server::setHost
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Server
|
|||
|
||||
public function __construct(
|
||||
string $host = '127.0.0.1',
|
||||
int $port = 1915,
|
||||
int $port = 1900,
|
||||
int $size = 1024,
|
||||
bool $live = true
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue