kern/149086: [multicast] Generic multicast join failure in 8.1
Hans-Werner Braun
hwb at ucsd.edu
Thu Aug 5 20:30:13 UTC 2010
The following reply was made to PR kern/149086; it has been noted by GNATS.
From: Hans-Werner Braun <hwb at ucsd.edu>
To: bug-followup at FreeBSD.org, hwb at ucsd.edu
Cc:
Subject: Re: kern/149086: [multicast] Generic multicast join failure in 8.1
Date: Thu, 5 Aug 2010 13:20:56 -0700
A program that is a straight adaptation from the IO::Socket::Multicast
man page does not work either:
----
#!/usr/local/bin/perl
use strict;
use IO::Socket::Multicast;
use constant GROUP => '233.7.117.79';
use constant PORT => '4011';
my $sock = IO::Socket::Multicast->new(Proto=>'udp',LocalPort=>PORT);
$sock->mcast_add(GROUP) || die "Couldn't set group: $!\n";
while (1) {
my $data;
next unless $sock->recv($data,1024);
print $data;
}
----
It only displays data if the multicast stream already exists on the
local Ethernet, but it does not send the group join request out to
initiate the receiving stream on the local Ethernet.
More information about the freebsd-net
mailing list