Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to properly send and receive data from multicast?

by Danny (Chaplain)
on Aug 31, 2024 at 19:21 UTC ( [id://11161474]=note: print w/replies, xml ) Need Help??


in reply to How to properly send and receive data from multicast?

On the sender side if I do the following it works for me:
my $socket = new IO::Socket::Multicast(Proto=>'udp', PeerAddr=>'239.1. +1.1:9999') or die "cannot create socket: $!\n"; $socket->send("this is multicast");
See the EXAMPLE section of 'perldoc IO::Socket::Multicast'

Replies are listed 'Best First'.
Re^2: How to properly send and receive data from multicast?
by Anonymous Monk on Sep 01, 2024 at 04:19 UTC

    That's weird, it doesn't work for me at all. I copied the example from the document, but it also didn't work.

      Multicast may be blocked by your computer setup, or it might not be supported (or be actively blocked) by your network setup.

      You could run network analysis tools (for example Wireshark) on both ends of the connection to see if the packets are send correctly and if they get to the destination host.

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
      Also check out my sisters artwork and my weekly webcomics

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11161474]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2025-07-15 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.