Prechádzať zdrojové kódy

Update AxyncUdpConnection

Joanhey 6 rokov pred
rodič
commit
f1105ed2a8
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
         }