Explorar o código

Add getSocket

#692
walkor %!s(int64=3) %!d(string=hai) anos
pai
achega
8d8d977893
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      Connection/UdpConnection.php

+ 10 - 0
Connection/UdpConnection.php

@@ -195,4 +195,14 @@ class UdpConnection extends ConnectionInterface
         }
         return true;
     }
+    
+    /**
+     * Get the real socket.
+     *
+     * @return resource
+     */
+    public function getSocket()
+    {
+        return $this->_socket;
+    }
 }