This commit is contained in:
2021-03-08 16:31:30 +08:00
parent fb62ba3f6c
commit f065b1c3b1
3 changed files with 4 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, $server, $data);
$request = Request::createListenRequest($clientInfo, $this->port, $server, $data);
[$host, $port] = [$clientInfo['address'], $clientInfo['port']];