NetworkPackage::PACKAGE_DATA_STATUS => NetworkPackage::PACKAGE_STATUS_FAKED
);
+ // Get a connection info instance
+ $infoInstance = ConnectionInfoFactory::createConnectionInfoInstance();
+
+ // Will the info instance with listener data
+ $infoInstance->fillWithListenerInformation($this);
+
// Get a socket registry
$registryInstance = SocketRegistryFactory::createSocketRegistryInstance();
// Register the socket with the registry and with the faked array
- $registryInstance->registerSocket($this, $newSocket, $packageData);
+ $registryInstance->registerSocket($infoInstance, $newSocket, $packageData);
} // END - if
// Do we have to rewind?