From 8c1c21e4a1aff5d15d7ed778f62ab5a05784c429 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 26 Apr 2010 21:09:47 +0000 Subject: [PATCH] Handling outgoing network packages basicly finished (but not the sending part itself) --- application/hub/main/listener/class_BaseListener.php | 1 + application/hub/main/package/class_NetworkPackage.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/application/hub/main/listener/class_BaseListener.php b/application/hub/main/listener/class_BaseListener.php index 7bbf70b00..284bb9987 100644 --- a/application/hub/main/listener/class_BaseListener.php +++ b/application/hub/main/listener/class_BaseListener.php @@ -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 diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index 58828e5a0..4f86f8840 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -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); -- 2.39.5