]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/tcp/class_TcpListener.php
Grouping by protocol of listeners in pool added
[hub.git] / application / hub / main / listener / tcp / class_TcpListener.php
index ea227ce7faf07184327862d706fd83545e847c8b..a8a9d3d95da08c5da037b28ca1de91fb877c3e68 100644 (file)
@@ -45,6 +45,9 @@ class TcpListener extends BaseListener implements Listenable {
                // Set the application instance
                $listenerInstance->setNodeInstance($nodeInstance);
 
+               // Set the protocol to TCP
+               $listenerInstance->setProtocol('tcp');
+
                // Return the prepared instance
                return $listenerInstance;
        }