Explorar el Código

UdpConnection->protocol

walkor hace 9 años
padre
commit
bb15c42217
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Worker.php

+ 1 - 0
Worker.php

@@ -1530,6 +1530,7 @@ class Worker
         }
         // 模拟一个连接对象
         $connection = new UdpConnection($socket, $remote_address);
+        $connection->protocol = $this->protocol;
         if($this->onMessage)
         {
             if($this->protocol)