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
8
votes
2 answers

HTML5 + JS enough for LAN communication?

I've been brainstorming a webapp idea, something a la Turntable.fm but for LANs, that way all the computers on the SAME network aren't all downloading a song at the same time (killing bandwidth) but rather streaming the music around. The basic…
Brian
  • 2,819
  • 4
  • 24
  • 30
8
votes
2 answers

How to send multicast packets via a specfic interface in Linux

Having tried all possible ways couldn't find a work around for this problem. I have a machine with two interfaces eth0 and eth2. I want all ff38:40:2001:dead:beef:cafe::/96 packets to go on eth2. I tried all the following but when I do ping6…
Sumit
  • 1,934
  • 4
  • 17
  • 23
8
votes
3 answers

How to trigger the local network dialog authorization for multicast entitlement using iOS 14

Following iOS 14 new policy of blocking access to local network, a com.apple.developer.networking.multicast special entitlement is needed to access the local network, and this access should be confirmed by user during an authorization dialog.…
Daniel Mavrakis
  • 572
  • 10
  • 17
8
votes
3 answers

How to receive multicast data on a multihomed server's non-default interface

I have a linux server with two NICs (eth0 and eth1), and have set eth0 as default in "ip route." Now I would like to receive multicast packets on eth1. I have added "224.0.20.0/24 dev eth1 proto static scope link" to the routing table, and I…
hrr
  • 1,807
  • 2
  • 21
  • 35
8
votes
2 answers

receiving multicast on a server with multiple interfaces (linux)

To receive a multicast on my not default NIC (dvb) I do the following: open a socket (AF_INET, SOCK_DGRAM) join the multicast address with IP_ADD_MEMBERSHIP on the dvb interface bind the multicast address (note that a common error is to bind…
Gaetano Mendola
  • 1,344
  • 3
  • 12
  • 27
8
votes
1 answer

How to find the multicast address on Windows

I'm afraid this is going to be a ridiculously stupid question, you might be able to tell networking is not my strong point, but how can I find the multicast address I am currently connected to? I was given an application that listens to a multicast…
Myn
  • 691
  • 4
  • 9
  • 19
8
votes
2 answers

Send and receive IPv6 link-local multicast UDP datagrams in Python?

This following is a straightforward IPv4 UDP broadcast, followed by listening on all interfaces. sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, True) sock.bind(("",…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
8
votes
1 answer

How do I determine the source IP of a multicast packet in C#?

I need to determine the IP of a machine that has sent me a multicast packet, so that I can respond to it via unicast. I'm using the following csharp (.Net 3.5) code to receive the packets over a multicast connection (code has been edited for…
8
votes
1 answer

What is the difference between apache camel multicast and recipent-list patterns?

So, after reading some documentation and getting a lot of help from you guys here, I finally implemented a recipient list that chooses the endpoints dynamically (a dynamic recipient…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
8
votes
1 answer

Cloning and forwarding packets to multiple IP addresses

I'm trying to forward all incoming TCP packets to multiple IP addresses. Setup: A - 10.10.10.10 B - 10.10.10.11 C - 10.10.10.12 D - 10.10.10.13 I want B, C and D to receive (on port 8000) all incoming packets on port 12345 of A. Ideally I wanted A…
rcadima
  • 81
  • 1
  • 1
  • 3
8
votes
2 answers

Java Multicast Time To Live is always 0

I have a problem with setting the TTL on my Datagram packets. I am calling the setTTL(...) method on the packet before sending the packet to the multicastSocket but if I capture the packet with ethereal the TTL field is always set to 0
ajerebek
8
votes
2 answers

A socket didn't join a multicast group but it can receive data.

when I created two udp sockets and I bind them to INADDR_ANY and same port number. but one of them joined a multicast group. but both of them can receive data from the same multicast group, even one of sockets didn't join to the multicast group.
user1680544
7
votes
2 answers

Sending and receiving multicast on the same Linux machine from different interfaces

I have a network with several computers when each computer has several network interfaces with a single destination. I'm developing an application that actively uses multicast. In general everything works as expected. Except for the moment that I…
e.proydakov
  • 544
  • 6
  • 18
7
votes
2 answers

Reliable multicasting in Java

What are modern approaches for Reliable multicasting in Java world? Searching the Web, I've came up with JGroups and JRMS. JGroups seem to be an overkill in my situation (I want to have a set of identical nodes which cooperate together and make them…
Dmitrii Volosnykh
  • 1,165
  • 1
  • 12
  • 33
7
votes
3 answers

Python twisted framework multicast bind on specific interface

After searching high and low across the google i have not found the definitive answer to the following question: by roughly following the following guide: http://twistedmatrix.com/documents/10.2.0/core/howto/udp.html#auto3 How is it possible to bind…
aiksa
  • 71
  • 1
  • 2