I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-12-08 15:38:42-08 by javierft1
syntax maybe
Hello, I am trying to run a script to listen to a multicast feed internally. The script is very basic in that it is just listening, not doing anything with the data just listening. I added some print statements to see the progression of the script and it seems to get hung up on the while loop. I saw this example in CPAN so I figured it should work ok, please take a look and if anyone could give me some hints as to what I might be doing wrong that would be great. Also, the multicast is leaving on a specific port, does that matter, is there anyway I can specify which port to listen on for this mcast traffic? Thanks again, Javier
Direct Responses: 11058 | Write a response
Posted on 2009-06-26 16:20:21-07 by musicmonkey5555 in response to 3733
Re: syntax maybe
I am sure this is dead but if I understand you correctly you can get the listener script here: http://search.cpan.org/~lds/IO-Socket-Multicast-1.05/Multicast.pm to work on windows. I had the same problem I can send packets using multicast but listening doesn't work I get Unknown Error returned from
mcast_add('233.0.25.1')
. I tried using
mcast_add('233.0.25.1','eth0')
, but of course get an error about not having IO::Interface installed and to use the ip address instead so I then tried
mcast_add('233.0.25.1','192.168.1.30')
, '192.168.1.30' being my local ip address, and got the Unknown Error error again. I posted on another site about the issue as well: http://perlguru.com/gforum.cgi?post=38027;sb=post_latest_reply;so=ASC;forum_view=forum_view_collapsed;guest=4901380 but didn't get any replies. It seems like this modual has been completely neglected on windows, and from the post under the bugs section and whatnot it seems like no one is going to work on it anymore. I am just hopeing I am doing something wrong and can get it working without having to wait for/fix the modual.
Direct Responses: 11062 | Write a response
Posted on 2009-06-26 18:30:17-07 by musicmonkey5555 in response to 11058
Re: syntax maybe
So I got it working apparently the newer version of perl breaks it: Hey I just noticed that under the changes page: http://cpansearch.perl.org/src/LDS/IO-Socket-Multicast-1.05/Changes It said 5.8.8 so I uninstalled 5.10.0 build 1005 and installed 5.8.824 and it worked.
Direct Responses: Write a response