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
4
votes
2 answers
Linux multicast sendto() performance degrades with local listeners
We have a "publisher" application that sends out data using multicast. The application is extremely performance sensitive (we are optimizing at the microsecond level). Applications that listen to this published data can be (and often are) on the…

Matt
- 952
- 2
- 8
- 17
4
votes
3 answers
rxjs withLatestFrom unExpected behavior
import { of, Subject, interval } from 'rxjs';
import {
tap,
startWith,
map,
delay,
publishReplay,
publish,
refCount,
withLatestFrom,
switchMap,
take
} from 'rxjs/operators';
const a$ = new Subject();
const b$ = a$.pipe(
map(a…

孙雪姣
- 41
- 2
4
votes
1 answer
multicast packet loss - running two instances of the same application
On Redhat Linux, I have a multicast listener listening to a very busy multicast data source. It runs perfectly by itself, no packet losses. However, once I start the second instance of the same application with the exactly same settings (same…

welch
- 61
- 1
- 2
4
votes
1 answer
Why is my UDP broadcast failing?
I'm trying to send a UDP broadcast but wireshark isn't reporting any traffic. Here's the snippet that does the sending:
void SendBroadcast()
{
String^ ip = "255.255.255.255";
int port = 30718;
String^ message = "test";
UdpClient^…

Jon Cage
- 36,366
- 38
- 137
- 215
4
votes
1 answer
Cannot bind to multicast address (Windows)
I am trying to write an application that listens to a number of multicast groups using Windows sockets.
The problem I'm running in to is that when I go to bind the socket, if I try to bind to the multicast group address and port this fails with…

Paul D.
- 1,785
- 2
- 19
- 25
4
votes
1 answer
java.io.IOException: No route to host using MulticastSocket on MacOS X Snow Leopard
I have a java application using multicast in order to advertise some entity - all worked fine when I tried the application a couple of weeks back. However, this is not the case anymore: I'm getting a
java.io.IOException: No route to host
exception…

Christof
- 779
- 8
- 21
4
votes
1 answer
What is the reliability of UDP multicast on a LAN?
Let's say that all receivers are connected to the same router, which is one hop away. What percent of UDP multicast packets should I expect to be dropped/lost in this setup?

Sridatta Thatipamala
- 2,182
- 4
- 17
- 18
4
votes
1 answer
What is causing multicast messages not to flow immediately after wifi restart
I have an Android app that creates a MulticastSocket, joins a MC group and receives messages from another machine on the local wifi network.
MulticastSocket socket = new MulticastSocket(null); // Create an unbound…

William
- 20,150
- 8
- 49
- 91
4
votes
1 answer
implementing LWIP multicast on STM32F7 + FreeRTOS?
I have a client/server LWIP program that works correctly with unicast communication however I want to use multicast features so I used IGMP library did the following:
1- in lwipopts.h:
#define LWIP_IGMP 1 //allowed IGMP
2- in…

Kalkhouri
- 341
- 1
- 6
- 16
4
votes
5 answers
Duplicate packets in Multicast Receiver Socket
There seems to be a bug in the following MulticastReceiver implementation.
On creating two instances for <224.0.25.46,13001> and <224.0.25.172,13001>, I get each packet twice in each stream. Any pointers ? My guess is REUSEADDR ?
class…

Humble Debugger
- 4,439
- 11
- 39
- 56
4
votes
2 answers
Multicast from tcp replay seen by wireshark but not by application
I have got a multicast packet capture I'm playing with tcpreplay:
sysctl net.ipv4.conf.all.rp_filter=0
sysctl net.ipv4.conf.eth0.rp_filter=0
tcpreplay -i eth0 --loop=100 new.pcap
I watch the traffic on eth0 with wireshark and I can see the packets…

Nico
- 155
- 9
4
votes
3 answers
Sending IPv6 multicast packets through a specific network interface
I am trying to send IPv6 UDP packets to all of the nodes on the local network segment, in python, over Windows.
I have several network interfaces in my computer, and I want to know how to specify the network interface for sending the packets.
I have…

Shir
- 1,157
- 13
- 35
4
votes
1 answer
Xcode 8.3.2 cannot find CocoaAsyncSocket.h
I'm an old-school c/c++ programmer new to the Xcode IDE, tasked with creating an app for iOS that can receive data from an IPv4 multicast address. Since Swift 3 doesn't have an API for joining to a multicast address or binding to a port, I need to…

bob quinn
- 541
- 5
- 17
4
votes
1 answer
Why a ZeroMQ PGM multicast is not receiving a Multicast message? ( C++, Windows )
Environment setup:
- Both a multicast send & receive applications are running in the same machine
I am integrating ZeroMQ multicast with OpenPGM support, but facing problem in below my sample code.
i.e. "Multicast message is not received" in…

my2117
- 143
- 1
- 6
4
votes
0 answers
Python asyncio: How to receive multicast responses?
I'm writing a system that requires multicast discovery of services, similar to the way UPnP works. I'm trying to write it all using Python 3.6's asyncio libraries. I have a working asyncio server, which can receive multicast packets and responds…

Giles Thomas
- 6,039
- 2
- 33
- 51