@@ -397,6 +397,15 @@ class TcpConnection extends ConnectionInterface
$this->destroy();
}
+
+ /**
+ * get socket
+ * @return resource
+ */
+ public function getSocket()
+ {
+ return $this->_socket;
+ }
/**
* destroy the connection