mirror of
https://github.com/YGGverse/nex-php.git
synced 2025-03-13 06:01:25 +00:00
fix port number
This commit is contained in:
parent
a241dddbd2
commit
687af4849e
@ -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…
x
Reference in New Issue
Block a user