Perl Monk, Perl Meditation | |
PerlMonks |
How to properly send and receive data from multicast?by Anonymous Monk |
on Aug 31, 2024 at 09:32 UTC ( [id://11161465]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I am trying to multicast messages in a local network using IO::Socket::Multicast module. Here's my attempt: sender.pl
receiver.pl
The problem is that the receiver couldn't receive the message, it just kept waiting. Additionally, I tested the program on 2 machines, interchanging the roles of sender and receiver and probed them using Wireshark Only one machine displayed "membership report group 239.1.1.1" in the info column, while the other had different group IP, even though both machines printed "subscribe status: 1" in the command line. The machine that seemed to be correct is a Windows virtual machine hosted by the other Windows machine. Why is this happening and how to multicast properly? Any help would be appreciated.
Back to
Seekers of Perl Wisdom
|
|