multicast

How to Multicast (send) to first NIC?

醉酒当歌 提交于 2019-12-01 08:20:21
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 NIC. This made the multicast go out to the dial-up connection instead rather than to my LAN which has several multicast subscribers. I understand that I need to use IP_MULTICAST_IF to set the interface on my multicast socket. Question is how do I enumerate the interfaces and how do I use IP_MULTICAST_IF in setsockopt? On the kiosk Windows XP Embedded,

SSIS : Using multicast to enter data into 2 RELATED destinations

时光怂恿深爱的人放手 提交于 2019-12-01 04:56:38
问题 I am new to SSIS. I have data coming from a single source. I need to enter that data into several tables (these tables are related by foreign key relationships). I am using multicast to enter the data into several destinations. My question is... How do I get the identity of an entry into one destination and use that identity for the foreign key column of the 2nd destination? Here is an example of what I am looking for. The Employee table has a foreign key to the Address table. But the source

Java Multicast sample program is unable to deliver packets within LAN (across hosts) [closed]

痴心易碎 提交于 2019-11-30 23:02:09
I am learning and trying to understand how Multicast is implemented in Java. I had developed a small program following the example given at http://www.nmsl.cs.ucsb.edu/MulticastSocketsBook/#javaexamples and it did do multicast of datagram (UDP) packets to multiple clients on same host. However when I tried to run clients on different machines (within same LAN (i.e. my home WiFi) no packets got received at client end. I made sure that my router's firewall was disabled as well as all other machines had a port open. Thinking my program could have some error, I took the examples, compiled them and

Java Multicast sample program is unable to deliver packets within LAN (across hosts) [closed]

ε祈祈猫儿з 提交于 2019-11-30 17:33:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 months ago . I am learning and trying to understand how Multicast is implemented in Java. I had developed a small program following the example given at http://www.nmsl.cs.ucsb.edu/MulticastSocketsBook/#javaexamples and it did do multicast of datagram (UDP) packets to multiple clients on same host. However when I tried to

TCP multicast and multithreading

柔情痞子 提交于 2019-11-30 15:43:31
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 me. Wouldn't/shouldn't there be a way to more easily multicast with reliability? EDIT: UNIX/C EDIT: i didn't clarify how multithreading comes into play. but if i was to open up n^2 connections, i figured, i'd be multithreading and that's even more complication than i would want. There are several reliable multicast solutions. DDS (Data distribution

UDP packet drops by linux kernel

人走茶凉 提交于 2019-11-30 15:32:33
I have a server which sends UDP packets via multicast and a number of clients which are listing to those multicast packets. Each packet has a fixed size of 1040 Bytes, the whole data size which is sent by the server is 3GByte. My environment is follows: 1 Gbit Ethernet Network 40 Nodes, 1 Sender Node and 39 receiver Nodes. All Nodes have the same hardware configuration: 2 AMD CPUs, each CPU has 2 Cores @2,6GHz On the client side, one thread reads the socket and put the data into a queue. One additional thread pops the data from the queue and does some light weight processing. During the

MSMQ - Cannot receive from Multicast queues

白昼怎懂夜的黑 提交于 2019-11-30 15:25:14
问题 I am trying to get my head around how multicasting works in MSMQ but I cannot receive messages at all, even from the same machine. I'm obviously doing something wrong but cannot see what. Here's where I'm at: I manually created a non-transactional private queue called MulticastTest and then set the Multicast address to 234.1.1.1:8001 . Then my test sending app does this: MessageQueue queue = new MessageQueue("FormatName:MULTICAST=234.1.1.1:8001"); queue.Send("Hello World"); This works, it at

Multicasting on the loopback device

流过昼夜 提交于 2019-11-30 14:04:20
问题 I wish to send UDP multicast packets to loopback address and receive the same in other application. All tests done on fedora core 17 Linux. The idea is to receive a video stream via RTSP/HTTP or any other network protocol and multicast it on the loopback address so that I can use VLC to play the stream using multicast address. Leaving aside other bitrate and controlled multicast issues, I tried to read one video file and multicast on loopback device. But when tried to play the same on vlc it

MSMQ - Cannot receive from Multicast queues

岁酱吖の 提交于 2019-11-30 13:59:51
I am trying to get my head around how multicasting works in MSMQ but I cannot receive messages at all, even from the same machine. I'm obviously doing something wrong but cannot see what. Here's where I'm at: I manually created a non-transactional private queue called MulticastTest and then set the Multicast address to 234.1.1.1:8001 . Then my test sending app does this: MessageQueue queue = new MessageQueue("FormatName:MULTICAST=234.1.1.1:8001"); queue.Send("Hello World"); This works, it at least seems to send the message which I see in an outgoing queue on the same machine. At least I assume

Is there a way to test multicast IP on same box?

喜你入骨 提交于 2019-11-30 12:11:54
问题 If I want to test a set of multicast IP programs (sender/receiver) without having to set up the networking, can this be done on the same box? If so, what needs to be setup or done differently? 回答1: You may have figured this out already (since the question is now 2 years old) but to do multicast on a single host, you only have to do two things: (1) make sure that your receiving multicast sockets have SO_REUSEADDR set (so that multiple processes can bind the same multicast address) and (2) make