This commit is contained in:
2021-03-23 18:21:25 +08:00
parent 05c81ce77d
commit 4e1020e05a
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class OnPacket extends Callback
public function onHandler(Server $server, string $data, array $clientInfo): mixed
{
try {
$request = Request::createListenRequest($clientInfo, $this->port, $server, $data);
$request = Request::createListenRequest($clientInfo, $server, $data);
[$host, $port] = [$clientInfo['address'], $clientInfo['port']];