$mcastReaderThread=threads->create(\&doMcastSubscription, $interface, $mcastAddress, $mcastPort); $mcastReaderThread->detach();