Browse Source

Add getSocket

#692
walkor 3 years ago
parent
commit
8d8d977893
1 changed files with 10 additions and 0 deletions
  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;
+    }
 }