resolve ('www.tiggerswelt.net', null, null, function (qcEvents_Client_DNS $Pool, $askedHostname, $Answers, $Authorities, $Additionals, qcEvents_Stream_DNS_Message $wholeMessage = null) { echo 'Response', "\n"; print_r ($wholeMessage); }); // Enter main-loop $Base->loop (); echo 'Finished at ', $e = microtime (true), "\n"; echo 'Test took ', number_format (($e - $s) * 1000, 2), " ms\n"; ?>