Explorar o código

Update AxyncUdpConnection

Joanhey %!s(int64=6) %!d(string=hai) anos
pai
achega
f1105ed2a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }