Skip Menu |

This queue is for tickets about the IO-Socket-Multicast CPAN distribution.

Report information
The Basics
Id: 19615
Status: resolved
Priority: 0/
Queue: IO-Socket-Multicast

People
Owner: bramble.andrew [...] gmail.com
Requestors: samiensi [...] yahoo.fr
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.04
Fixed in: 1.11



Subject: IO::Socket::Multicast Install on linux
Après l'installation du package sous linux et après installation du package IO-Interface-0.94 et au moment du lancement du fichier ci- joint Server_Mcast, l'erreur "can't locate loadable object for module IO::Socket::Multicast in @INC (@INC contains : /usr/lib/perl5/5.8.0/i586-linux-thread- multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl ...) at line 4. J'ose esperer avoir une réponse dans le plûtot possible.
Subject: Server_Mcast.pl
#!/usr/bin/perl # server use strict; use IO::Socket::Multicast; use constant DESTINATION => '226.1.1.2:2000'; my $sock = IO::Socket::Multicast->new(Proto=>'udp',PeerAddr=>DESTINATION); while (1) { my $message = localtime; $message .= "\n" . `who`; $sock->send($message) || die "Couldn't send: $!"; } continue { sleep 10; }
Works for me with 1.11 on ubuntu 6.04 Observed output of test script with socat socat UDP4-RECV:2000,ip-add-membership=226.1.1.2:eth0,reuseaddr STDOUT