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
3
votes
1 answer
How to find multicast sender address in asio?
I'd like to know, how to determine IP address of machine, which sends multicast packets to the multicast group, using asio library. Now my source is like:
std::string listen_addr4 = lpd_config.config.lpd_listen_host4();
std::string multicast_addr4 =…

Alexander Shishenko
- 940
- 1
- 11
- 28
3
votes
3 answers
Choosing a communication library for a distributed application
I started develop a distributed application and we have a big dilemma! We need a communication library easy to use and with the following features:
reliable communication
groups/channels
unicast
multicast
auto-discover
security
supported by…

Sacx
- 6,276
- 4
- 22
- 29
3
votes
2 answers
Selecting an Interface when Multicasting on Linux
I'm working with a cluster of about 40 nodes running Debian 4. Each node runs a daemon which sits and listens on a multicast IP.
I wrote some client software to send out a multicast over the LAN with a client computer on the same switch as the…
Charles
3
votes
2 answers
How to Multicast (send) to first NIC?
I found recently that if I have a dial-up connection (this is for a kiosk) and a local area network connection, when the dial-up connection is established (with internet access), my multicast sendto would default to the dial-up rather than my LAN…

Zach Saw
- 4,308
- 3
- 33
- 49
3
votes
1 answer
Multicast being sent over hardware address of default gateway address instead of ethernet multicast address
I have this code to send multicast messages to a group. There are no errors while running the program but when I monitor packets in Wireshark the ethernet destination of my packets are of my default gateway instead of something like…

mojo
- 61
- 4
3
votes
2 answers
How to tell Java which interface to use to send multicast data
I have the following issue:
I want to send multicastd data to f.i. 224.0.12.13, but as the user's machine maybe have a lot of devices, the data is sent (obviously) to the route with the smallest metric. For instance, "route print" in windows tells…

Alex
- 365
- 1
- 2
- 9
3
votes
1 answer
how to create socket.io multicast groups
I want to emulate multicast with socket.io
I am used to BSD sockets where you save file descriptors in FD_SET, and iterate over them in an event loop to send() or write to them individually. If I can do the analogy in javascript, I will be…

pyramation
- 1,631
- 4
- 22
- 35
3
votes
1 answer
Duplicate packets in Python multicast receiver
There is a script that opens a socket and read from it the multicast (from Multicast in Python)
import socket
import struct
MCAST_GRP = '224.1.1.1'
MCAST_PORT = 1234
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM,…

azhurb
- 43
- 2
- 8
3
votes
0 answers
System.Net.Sockets.UdpClient not receiving multicast messages
I'm working on a UWP/Xamarin.Android app that uses SSDP multicast search to detect other devices on the local network that are running the same app. I've been able to send out multicast messages with UdpClient, but I'm not able to receive multicast…

Ryken100
- 41
- 2
3
votes
1 answer
UDP - Sending a multicast message and listening for response gives SocketException
I'm sending a UDP multicast message to find certain devices on the network. I then listen for a response on port 5001.
My workflow is as follows:
Send a multicast "find" message to the local subnet.
Any wiznet devices on the network respond with…

Matt Roberts
- 26,371
- 31
- 103
- 180
3
votes
5 answers
Purpose of joinGroup() in MulticastSocket
I'm trying to join a multicast group after creating a MulticastSocket.
Doing something like:
MulticastSocket mySocket = new MulticastSocket(4444);
mySocket.joinGroup(InetAddress.getByName("230.0.0.1")); // as an example
works fine. When I use the…

A Timmes
- 3,093
- 3
- 16
- 5
3
votes
1 answer
How to specify a local bond interface to multicast socket in Haskell?
I have tried Network.Multicast package and it does work, however, I cannot find a way to specify a local bond interface ("bond0" or "bond1" etc) to the multicast socket. I know in C I need to use ioctl to convert the bond into a struct sockaddr_in,…

diyu01
- 31
- 2
3
votes
1 answer
Send and receive UDP multicast packets with the same socket
I could not find a working example for this, so I am going to post a question (and let's see if I can reduce this to an MVP code example). So, I need to do mdns queries, I can use two sockets (one for sending / second for receiving) but so far I…

Rudolfs Bundulis
- 11,636
- 6
- 33
- 71
3
votes
1 answer
Linux Multicast-Packets run dry after 4 minutes
I try to process a multicast packet stream in Linux. For 266s - 278s (it is not always exactly the same time period) the receiving works fine, but after that, no packets are received anymore.
This is how I initialize the multicast:
int arg = 1;
int…

binaryBigInt
- 1,526
- 2
- 18
- 44
3
votes
3 answers
UDPClient Async BeginReceive is very slow
I am using UDPClient to send multicast request and receive response from various clients on the network. I am able to send request and also getting response, but response that I get is very slow. It take 2-3 minutes to get response from all the…

Sandeep
- 320
- 2
- 4
- 18