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
4
votes
0 answers

No output when using raw socket to send spoofed packets via multicast to different subnet

My application is a specialized user space UDP router that uses raw sockets to produce unicast and multicast output with actual or spoofed source addresses in the IP packet headers of the sent packets. Briefly, there is one permutation of the…
nferguso
  • 91
  • 5
4
votes
7 answers

TCP multicast and multithreading

I need to come up with clients that can multicast to other clients reliably. That implies I'll be using TCP to connect reliably between clients within a multicast group. Doesn't that come up to n^2 number of connections? That seems a little silly to…
Fantastic Fourier
  • 613
  • 7
  • 13
  • 20
4
votes
1 answer

Design and architecture for multiple concurrent users subscribing to a data feed

Here's a scenario: I have a 'data-feed' - a REST/JSON service that updates periodically (let's say - every 10 seconds or so), and if a change in the data set occurs - then all subscribed listeners need to be updated. It's currently implemented using…
JRun
  • 3,328
  • 6
  • 27
  • 41
4
votes
1 answer

Send multicast from eth0 to eth1

I need to send multicast data from eth0 interface and receive it on eth1 on Linux machine. I have 2 programs in C, PROG-1 does setsockopt IP_MULTICAST_IF so that it would send from eth0, PROG-2 does join mcast group on eth1 ( verified with netstat…
J.K
  • 61
  • 4
4
votes
2 answers

In Hazelcast, multicast auto discovery for the same vpc instances is not working

We have opened TCP ports from 5701 to 5709 and also opened UDP port of 54327 which includes inbound and out bound rules in aws console. We have enabled multicast mode as true, TCP/IP mode as false in both machines Hazelcast configuration. And also…
Karthik S
  • 117
  • 1
  • 4
  • 14
4
votes
2 answers

Multicast from kernel to user space via Netlink in C

I was trying to write a simple program communicating between kernel and user space using Netlink. Basically here's what I wanted to achieve: User space program starts binding to a user defined multicast group. Insert kernel module Kernel module…
guoger
  • 197
  • 1
  • 2
  • 9
4
votes
1 answer

Why is my MulticastSocket only receiving every 256th packet?

I am subscribing to a multicast UDP stream in MATLAB. This can't done done natively, so instead I am using a java.net.MulticastSocket object. Each UDP packet is tagged with some meta-data, in particular a sequence count. Every time my data source…
Dang Khoa
  • 5,693
  • 8
  • 51
  • 80
4
votes
1 answer

How do I implement a multicast client in NIO.2?

How would an example of using a Java 7 NIO.2 multicast client look like? I could only find half of an example in the MulticastChannel documentation.
Sundae
  • 724
  • 1
  • 8
  • 27
4
votes
2 answers

Android can not receive multicast packet

I'm playing a little bit with multicast sockets. I write a server which sends a message to a android client. Until yet the client should only log the received message. I noticed that no multicast packet are received on my device. Here is the code…
4
votes
4 answers

How to use multicast on a multi-homed system (Java, Linux)

This is in Java, but I can always revert to C via JNI if needed. I have a system with two NICs, each connected to a distinct subnet. I want to use multicast (in particular, SDP) to discover other hosts on both networks. One network is easy: create a…
Art Roberts
  • 41
  • 1
  • 2
4
votes
3 answers

Can't assign requested address : Python Multicasting

I just started with networking and am writing a very simple code for multicasting. I am still not sure about the different interfaces. Some examples used "0.0.0.0" while others have used "127.0.0.1". Code for Server import socket import sys import…
Kyuubi
  • 1,228
  • 3
  • 18
  • 32
4
votes
2 answers

IP_ADD_MEMBERSHIP on a socket, will the socket listen to unicast also?

Considering the code below, I'm trying to bind a UDP socket for multicast. I've bound it to a specific port, and set IP_ADD_MEMBERSHIP for the address to listen to. My question: will the socket receive unicast UDP packets bound for that port? If so,…
Yarel
  • 424
  • 1
  • 6
  • 15
4
votes
0 answers

EPG from multicast save to xml or any other file

i'm wondering how to save EPG from live transsimition over multicast. I've tryed with VLC but he dumps into some strange code.. Also i've trying with tv_grab_dvb-0.9 and have problems with save file. Any suggestions, or maybe solutions? Thx, for…
Marin
  • 1,098
  • 14
  • 33
4
votes
1 answer

NodeJS - How to pipe same video stream to multiple clients?

We have a situation trying to serve a video stream. Since HTML5 video tag does not support udp to multicast, we are trying to re-use an already converted ffmpeg stream and send it to more than one response. But that does not work. The first…
SergioBR
  • 91
  • 2
  • 7
4
votes
1 answer

joining a multicast group in linux using a command line

I'm trying to join/define a multicast group in linux. Is there anyway to achieve this using a command line? I know it is possible to do so programmatically. But I would like to test my idea before programming. P.S: a route to 244.0.0.0 has already…
H_squared
  • 1,251
  • 2
  • 15
  • 32