Questions tagged [multicast]

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.

1621 questions
13
votes
2 answers

listing multicast sockets

I am trying to list all opened multicast sockets on a linux system? netstat -g lists the groups joined though. Is there any other utility that I can use for this sake? Thanks a lot for the help.
12
votes
3 answers

What is the state of multicast support in consumer grade routers

I am designing a system which has multiple small embedded systems hosts communicating in a LAN. UDP multicast fits nicely for my purpose. But I am worried about multicast support in commonplace routers. I need to deploy the system to normal…
henning77
  • 3,824
  • 2
  • 26
  • 32
12
votes
3 answers

What is the difference bewteen wiretap and multicast in Apache Camel

The default behaviour of wireTap and multicast in Camel seems to be similar. That is both of them helps in processing the same message in different ways. Then what is the main difference between wireTap and multicast?
KayV
  • 12,987
  • 11
  • 98
  • 148
11
votes
1 answer

WebRTC multicast (one-to-many)

Hi I have questions about WebRTC. I would like create one-to-many (1:N) connection with MCU server (because stream from source is too big (CPU,bandwidth...)), but I don't know how can I do that, exists some project for this? I found only EasyRTC,…
user3006078
  • 129
  • 1
  • 1
  • 3
10
votes
6 answers

Subscribing to multiple multicast groups on one socket (Linux, C)

Is it possible to receive data from more than one multicast group on a single socket? For example: void AddGroup(int sock, const char* mc_addr_str, int mc_port, const char* interface) { struct sockaddr_in…
Switch
  • 5,126
  • 12
  • 34
  • 40
10
votes
2 answers

java - MulticastSocket problems on Windows Server 2008

I have a java application which uses a few MulticastSocket instances to listen to a few UDP multicast feeds. Each such socket is handled by a dedicated thread. The thread reads each Datagram, parses it's content and writes to log (log4j) the…
Bick
  • 17,833
  • 52
  • 146
  • 251
10
votes
6 answers

Setting up ehcache replication - what multicast settings do I need?

I am trying to set up ehcache replication as documented here: http://ehcache.sourceforge.net/EhcacheUserGuide.html#id.s22.2 This is on a Windows machine but will ultimately run on Solaris in production. The instructions say to set up a provider as…
Darren Greaves
  • 3,326
  • 4
  • 29
  • 32
10
votes
2 answers

How Apache camel error handling works with multicast and transactions

I got spring boot (2.3.2.RELEASE) with camel (3.5.0) application and two routes for testing in it: The idea is to check what happen when exception occurred in child route that was called from multicast and how it work with…
10
votes
3 answers

Is there any way to configure Amazon EC2 instances to support multicast discovery needed for EhCache

Is there any way to configure Amazon EC2 instances to support multicast needed for EhCache auto-discovery? (through iptables hacks etc)/
Archer
  • 5,073
  • 8
  • 50
  • 96
10
votes
1 answer

C# UDP client reading multicast IP (local interface), and sending unicast UDP to VPN

I have a VPN client that works fine for sending unicast UDP packets over the VPN pipe but does not do that for multicast IP (UDP) packets (OpenVPN). So I thought I could write this little shim that would take the IP (port 3000) multicast and send…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
10
votes
2 answers

IPv6 multicast with Node.js

I am experimenting with IPv6 UDP multicast over a VPN. I have tried the following code: const dgram = require('dgram'); let sock = dgram.createSocket('udp6', { reuseAddr: true }); sock.on('message', (data, source) => { console.log('on…
Brad
  • 159,648
  • 54
  • 349
  • 530
10
votes
1 answer

Why does multicast reception not work on some Android devices?

It seems multicast reception does not work on some Android devices. I can not receive multicast with 4 out of 13 test devices. On those 4 devices it seems the app does not send the IGMP request to join the multicast group. The code to receive the…
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
10
votes
2 answers

Poor multicast performance sending using boost::asio on Windows

I have a very simple wrapper for boost::asio sockets sending multicast messages: // header class MulticastSender { public: /// Constructor /// @param ip - The multicast address to broadcast on /// @param port - The multicast port to…
steveo225
  • 11,394
  • 16
  • 62
  • 114
10
votes
1 answer

Need IPv6 Multicast C code that works on iOS 9

Apple now requires iOS 9 apps to be IPv6 compliant. We're mostly OK, except for a bit of code which sends a UDP broadcast - this now fails in iOS 9. Everything I read tells me that UDP multicast is the right way to do this in IPv6. I've found some…
10
votes
5 answers

MultiCast Messages to multiple clients on the same machine

Im trying to write a server/service that broadcasts a message on the lan ever second or so, Kind of like a service discovery. The message needs to be received by multiple client programs that could be on the same machine or different …
Christopher Chase
  • 2,840
  • 6
  • 36
  • 57