]> git.mxchange.org Git - hub.git/commitdiff
Handling outgoing network packages basicly finished (but not the sending part itself)
authorRoland Häder <roland@mxchange.org>
Mon, 26 Apr 2010 21:09:47 +0000 (21:09 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 26 Apr 2010 21:09:47 +0000 (21:09 +0000)
application/hub/main/listener/class_BaseListener.php
application/hub/main/package/class_NetworkPackage.php

index 7bbf70b00241e819b840ba65ba7949fcd476e0a1..284bb99870e6dc1741926cee69c3c9fba9ec7303 100644 (file)
@@ -80,6 +80,7 @@ class BaseListener extends BaseHubSystem implements Visitable {
                // We need to clear the error here if it is a resource
                if ($isServerSocket === true) {
                        // Clear the error
+                       //* DEBUG: */ $this->debugOutput('socketResource[]=' . gettype($socketResource));
                        socket_clear_error($socketResource);
                } // END - if
 
index 58828e5a0c90cd5a9f00016da36a1502bf6843c4..4f86f88402cd6188554ed20bde7340ad2943b3be 100644 (file)
@@ -150,7 +150,9 @@ class NetworkPackage extends BaseFrameworkSystem implements Deliverable, Registe
                // Now we know for sure there are packages to deliver, we can start
                // with the first one.
                $packageData = $this->getStackerInstance()->getNamed(self::STACKER_NAME_UNDECLARED);
-               die(print_r($packageData, true));
+
+               // Finally, deliver the package
+               $this->deliverPackage($packageData);
 
                // And remove it finally
                $this->getStackerInstance()->popNamed(self::STACKER_NAME_UNDECLARED);