The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Vulcan::Multicast - data distribution via multicast

SYNOPSIS

use Vulcan::Multicast;

my $send = Vulcan::Multicast ## sender
   ->new( send => '255.0.0.2:8360', iface => 'eth1' );

$send->send            ## default
( 
    '/file/path',
    ttl  => 1,          ## 1
    repeat => 2,        ## 2
    buffer => 4096,     ## MAXBUF
);

my $recv = Vulcan::Multicast ## receiver
   ->new( recv => '255.0.0.2:8360', iface => 'eth1' );

$recv->recv( '/repo/path' );