Browse Source

Update AxyncUdpConnection

Joanhey 6 năm trước cách đây
mục cha
commit
f1105ed2a8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
         }