]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/connection/class_BaseConnectionHelper.php
'hub' project continued:
[hub.git] / application / hub / main / helper / connection / class_BaseConnectionHelper.php
index f66bc15c65691c5209ad971a5ead6d53fc3ac844..685d079e31ff7fd774788dcbbe9de3a006cc66dd 100644 (file)
@@ -220,6 +220,9 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc
                $socketResource = $this->getSocketResource();
                $timeout = $this->getConfigInstance()->getConfigEntry('socket_timeout_seconds');
 
+               // Debug output
+               $this->debugOutput('CONNECTION-HELPER: Trying to connect to ' . $recipientData[0] . ':' . $recipientData[1] . ' with socketResource[' . gettype($socketResource) . ']=' . $socketResource . ' ...');
+
                // Try to connect until it is connected
                while ($isConnected = !@socket_connect($socketResource, $recipientData[0], $recipientData[1])) {
                        // Get last socket error