Date: Thu, 5 Aug 2010 20:30:13 GMT From: Hans-Werner Braun <hwb@ucsd.edu> To: freebsd-net@FreeBSD.org Subject: Re: kern/149086: [multicast] Generic multicast join failure in 8.1 Message-ID: <201008052030.o75KUDnA027223@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/149086; it has been noted by GNATS.
From: Hans-Werner Braun <hwb@ucsd.edu>
To: bug-followup@FreeBSD.org, hwb@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.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008052030.o75KUDnA027223>
