MdAgent.pl --plugin UTP --config UTP --interface ce1 --mcastAddress 239.11.25.104 --mcastPort 104
####
require "$PALIBDIR/$actualPlugin.pm";
It then calls the initialisation sub of the plugin :
$actualPlugin->moduleInit($debug, $instance);
####
while(1)
{
$drop=1 unless $peer->recv($sock, $message, $maxLen,0)
if($drop ==1)
{
$DEBUG && msg("recv failed : $!");
}
else
{
$actualPlugin->processMessage("$message");
}
####
$MdAgent::TotalsHsh{$service}{$messageType}+=1;
####
$mcastReaderThread=threads->create(\&doMcastSubscription, $interface, $mcastAddress, $mcastPort);
$mcastReaderThread->detach();
####
$MdAgent::TotalsHsh{$service}{$messageType}+=1;