Browse Source

UdpConnection->protocol

walkor 9 years ago
parent
commit
bb15c42217
1 changed files with 1 additions and 0 deletions
  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)