The following reply was made to PR kern/149086; it has been noted by GNATS.

From: Hans-Werner Braun <h...@ucsd.edu>
To: bug-follo...@freebsd.org, h...@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.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to