You are not logged in.

#1 2017-10-09 11:07:35

mark92
Member
Registered: 2014-10-12
Posts: 4

How to enable UDP multicast?

Quite literally, how to enable it?

Offline

#2 2017-10-09 11:29:48

Elizine
Member
From: United Kingdom
Registered: 2015-10-07
Posts: 39
Website

Re: How to enable UDP multicast?

In principle, an application just needs to open a UDP socket and fill with a class D multicast address the destination address where it wants to send data to. However, there are some operations that a sending process must be able to control.

The UDP layer uses both the destination address and port to demultiplex the packets and decide which socket(s) deliver them to.

Offline

#3 2017-10-09 11:30:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,659

Re: How to enable UDP multicast?

What for?

Literal answer:

ip maddr

If that returns anything associated with your interface multicast is enabled, the question is what your intentions are.

Mod note, moving to NC

Offline

#4 2017-10-09 11:37:53

mark92
Member
Registered: 2014-10-12
Posts: 4

Re: How to enable UDP multicast?

I'm playing with a library that allows to work with distributed processes (between several machines/nodes). For starters I'm trying to run several slave nodes on
the same machine and then start a master node. Host/port pairs look like this: localhost:44445, localhost:44446 for slaves. However the master node cannot see
the slaves. Then in the documentation it's mentioned that if it's the case (master can't see slaves) UDP multicast is probably not allowed by firewall. Hence my
question. Quite honestly I have no idea what UDP multicast is.

Offline

Board footer

Powered by FluxBB