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
10
votes
1 answer
Multicast Join on Linux and IGMPv3
We've run into a thorny problem. We are writing a c++ program that receives multicast UDP traffic. We're in the process of moving our applications to a different network environment and our operations team has requested that we support IGMPv3…

terson
- 1,307
- 1
- 9
- 10
10
votes
2 answers
MulticastSocket constructors and binding to port or SocketAddress
I may have a fundamental misunderstanding of the term binding here but I am confused about the usage of the MulticastSocket and it's constructors. They no not do what I understand they should do should do so any who can help me clear my…

D-Dᴙum
- 7,689
- 8
- 58
- 97
10
votes
3 answers
Creating a class for an interface at runtime, in C#
I'm looking at taking a set of objects, let's say there's 3 objects alive at the moment, which all implement a common interface, and then wrap those objects inside a fourth object, also implementing the same interface.
The fourth object's…

Lasse V. Karlsen
- 380,855
- 102
- 628
- 825
9
votes
3 answers
Loopback in multicast
This question is about sending and receiving multicasts inside the same host, while simultaneously sending it to other hosts.
Even after hours of googling, I have not been able to sort out, how multicast datagrams are routed within the same…

El Sampsa
- 1,673
- 3
- 17
- 33
9
votes
2 answers
IPV6 link local multicasting
I'm trying to figure out how to do the equivalent of an IPV4 broadcast using IPV6.
I'm creating a non-blocking IPV6 UDP socket.
From the side broadcasting i'm literally just doing a sendto "FF02::1" on port 12346.
On the listen side I discovered I…

Goz
- 61,365
- 24
- 124
- 204
9
votes
6 answers
Is 1-to-n multicast on the open internet reliable?
I'm a newbie at networking. I understand the concept of multicast, but was wondering if it's reliable on the open/public internet?
It seems like sort of an edge case that different backbones or ISPs might intentionally break to reduce router load…

Jeremy Dunck
- 5,724
- 6
- 25
- 30
9
votes
2 answers
UDP broadcast/multicast vs unicast behaviour (dropped packets)
I have an embedded device (source) which is sending out a stream of (audio) data in chunks of 20 ms (= about 330 bytes) by means of a UDP packets. The network volume is thus fairly low at about 16kBps (practically somewhat more due to UDP/IP…

djbuijs
- 266
- 1
- 2
- 10
9
votes
6 answers
Need microsecond delay in .NET app for throttling UDP multicast transmission rate
I'm writing a UDP multicast client/server pair in C# and I need a delay on the order of 50-100 µsec (microseconds) to throttle the server transmission rate. This helps to avoid significant packet loss and also helps to keep from overloading the…

James Dunne
- 3,607
- 3
- 24
- 29
9
votes
1 answer
IPPROTO_RM blocks during accept call
This question is similar to https://stackoverflow.com/questions/11650328/using-reliable-multicast-pragmatic-general-multicast-not-returning-from-accept, but my code is slightly different from its, so it may result in a different answer.
I am…

Anthony
- 12,177
- 9
- 69
- 105
9
votes
2 answers
boost::asio multicast example
I've just began reading information about multicast transfers using boost::asio and I'm somewhat puzzled by the following:
Why do we need a "listening address" in the following boost::asio example? What's the point of that? Why would one choose…

deinocheirus
- 1,833
- 5
- 26
- 44
9
votes
1 answer
How can chrome.socket be used for broadcasting or multicasting?
I want to create a Chrome Packaged App used for LAN only, where one instance serves as a server (session host) and other instances must discover the server and join the session. Can this be achieved with chrome.socket?
I have set up the server like…

hlidka
- 2,086
- 1
- 15
- 14
9
votes
4 answers
UDP Server Discovery - Should clients send multicasts to find server or should server send regular beacon?
I have clients that need to all connect to a single server process. I am using UDP discovery for the clients to find the server. I have the client and server exchange IP address and port number, so that a TCP/IP connection can be established after…

Elan
- 6,084
- 12
- 64
- 84
9
votes
1 answer
What is the difference between IPV6_ADD_MEMBERSHIP and IPV6_JOIN_GROUP?
I notice that most OSes that define IPv6 multicast define two sets of socket options; IPV6_ADD_MEMBERSHIP/IPV6_DROP_MEMBERSHIP and IPV6_JOIN_GROUP/IPV6_LEAVE_GROUP. Whenever I find them, they are documented as synonyms, taking the same option value.…

LeoNerd
- 8,344
- 1
- 29
- 36
8
votes
1 answer
How to specify the multicast SEND interface in Python?
There is quite a few examples to RECEIVE multicast messages with a spcific network interface (NIC, e.g. eth0, 127.0.0.1 etc). However, there is few discussion/examples about how to SEND multicast (UDP) messages to a specific interface, e.g. local…

user1268888
- 83
- 1
- 4
8
votes
2 answers
Do I need a PORT when joining a multicast group or just the IP?
I would like to learn that once and for all. What is the procedure to connect a multicast socket? I know you have to bind to a local interface (do you need IP and port for that?) then I know you have to join a group (do you need IP:PORT for the…

chrisapotek
- 6,007
- 14
- 51
- 85