Multicast refers to one-to-many network transmission options, where packets will be automatically propagated just to those nodes wishing to receive them. IP-based multicast is the common case, though other multicast implementations exist.
Questions tagged [multicast]
1621 questions
103
votes
10 answers
How do you UDP multicast in Python?
How do you send and receive UDP multicast in Python? Is there a standard library to do so?
NoName
88
votes
4 answers
What does it mean to bind a multicast (UDP) socket?
I am using multicast UDP between hosts that have multiple network interfaces.
I am using boost::asio, and am confused by the 2 operations receivers have to make: bind, then join-group.
Why do you need to specify the local address of an interface,…

haelix
- 4,245
- 4
- 34
- 56
76
votes
5 answers
How do I choose a multicast address for my application's use?
How should I choose an IPv4 multicast address for my application's use? I may need more than one (a whole range perhaps ultimately) but just want to avoid conflicts with other applications.
Packets will be entirely contained within an…

MarkR
- 62,604
- 14
- 116
- 151
46
votes
3 answers
Can I use broadcast or multicast for TCP?
For Internet Protocol (IP) I can use multicast:
in IPv4: Internet Group Management Protocol (IGMP)
in IPv6: Multicast Listener Discovery
Also, in example, for UDP I can use:
broadcast - to send packet to range of addresses
multicast - to send…

Alex
- 12,578
- 15
- 99
- 195
45
votes
5 answers
Getting `Can't assign requested address` java.net.SocketException using Ehcache multicast
Getting java.net.SocketException when trying to start a multicast provider:
2013-09-11 11:45:44,204 [main] ERROR net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider: Error starting heartbeat. Error was: Can't assign requested…

eebbesen
- 5,070
- 8
- 48
- 70
42
votes
17 answers
how to list rooms on socket.io nodejs server
after progress on the question how to create socket.io multicast groups, I found making rooms a great way to do what I needed.
However, it would be great to know about all the rooms, without an extra data-structure.
Is it possible to get a list of…

pyramation
- 1,631
- 4
- 22
- 35
31
votes
3 answers
NodeJS UDP Multicast How to
I'm trying to send a UDP Multicast Packet to: 230.185.192.108 so everyone subscribed will receive. A bit stuck. I believe it's broadcasting correctly, but can't seem to pick anything up with any client.
Server:
var news = [
"Borussia Dortmund…

Taurian
- 1,660
- 7
- 20
- 28
30
votes
1 answer
How can I use TCPDump on Unix to view messages sent to a specific multicast address?
I'm trying to view traffic transmitted to a specific multicast address on a network in order to analyze a protocol we're using.
I don't have Wireshark available on the setup (unfortunately). TCPDump is available though. So, can anyone show me a…

John Humphreys
- 37,047
- 37
- 155
- 255
25
votes
1 answer
Multicast vs Broadcast in LAN
Is there any advantage to using a multicast group to send messages rather than just broadcasting them to a specific port? I understand that when broadcasting, other computers that don't want the messages receive them too, but how much does it affect…

slartibartfast
- 4,348
- 5
- 31
- 46
25
votes
7 answers
How do you programmatically configure hazelcast for the multicast discovery mechanism?
How do you programmatically configure hazelcast for the multicast discovery mechanism?
Details:
The documentation only supplies an example for TCP/IP and is out-of-date: it uses Config.setPort(), which no longer exists.
My configuration looks like…

DaveFar
- 7,078
- 4
- 50
- 90
24
votes
4 answers
Send Broadcast datagram
I need to send a broadcast datagram to all machine (servers) connected to my network.
I'm using NodeJS Multicast
Client
var dgram = require('dgram');
var message = new Buffer("Some bytes");
var client =…

Wassim AZIRAR
- 10,823
- 38
- 121
- 174
23
votes
2 answers
UDP Multicast over the internet?
I'm not sure how best to approach my problem. I have a service with runs on a remote machine with receives and process UDP packets. I want the service to be able to re-send these packets to anyone that happens to want them (could be no-one, will…

Barg
- 2,968
- 7
- 26
- 28
23
votes
5 answers
Wireshark: Filter by Multicast in GUI
Using the Wireshark "Filter" field in the Wireshark GUI, I would like to filter capture results so that only multicast packets are shown.
I've seen this post but that doesn't work for the GUI filter field. This Wireshark page shows how to filter…

user1205577
- 2,388
- 9
- 35
- 47
21
votes
2 answers
Camel send to multiple end points
How does these two differ
from(endpoint).to(endpoint:a, endpoint:b)
from(endpoint).multicast().to(endpoint:a, endpoint:b)
couldn't find any documentation for the first

Manoj
- 5,542
- 9
- 54
- 80
20
votes
4 answers
C - choose interface for UDP/multicast socket
I am trying to modify a multicast listener / sender example to bind the UDP / multicast socket to a specific interface and not using the INADDR_ANY macro.
I possess the IPv4 address of the interface.
I tried the following, but the socket does not…

user22602
- 309
- 1
- 2
- 4