diff --git a/Sockets/Socket.php b/Sockets/Socket.php
index <HASH>..<HASH> 100644
--- a/Sockets/Socket.php
+++ b/Sockets/Socket.php
@@ -33,6 +33,11 @@ class Socket
         }
     }
 
+    public function getResource()
+    {
+        return $this->resource;
+    }
+
     public function poll()
     {
         if ($this->selectRead()) {
Additional helper to access raw socket resource