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