浏览代码

Update AxyncUdpConnection

Joanhey 6 年之前
父节点
当前提交
f1105ed2a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Connection/AsyncUdpConnection.php

+ 1 - 1
Connection/AsyncUdpConnection.php

@@ -176,7 +176,7 @@ class AsyncUdpConnection extends UdpConnection
         if ($this->_contextOption) {
             $context = \stream_context_create($this->_contextOption);
             $this->_socket = \stream_socket_client("udp://{$this->_remoteAddress}", $errno, $errmsg,
-                30, STREAM_CLIENT_CONNECT, $context);
+                30, \STREAM_CLIENT_CONNECT, $context);
         } else {
             $this->_socket = \stream_socket_client("udp://{$this->_remoteAddress}", $errno, $errmsg);
         }