multicast

Erlang Multicast

How do you use gen_udp in Erlang to do multicasting? I know its in the code, there is just no documentation behind it. Sending out data is obvious and simple. I was wondering on how to add memberships. Not only adding memberships at start-up, but adding memberships while running would be useful too. ...

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 ...

tomcat session replication without multicast

i am planning to use 2 dedicated root servers rented at a hosting provider. those machines will run tomcat 6 in a cluster. if i will add additional machines later on - it is unlikely that they will be accessible with multicast, because they will be located in different subnets. is it possible to run tomcat without multicast? all tutoria...

Need help with multicast udp server discovery in c#

As kind of a followup to this question I've gotten a solution working on my local machine, but not on a machine on the network. I don't know too much about sockets other than that basics, so bear with me. The goal is for a client to look for a server on a local network, and this is the result of some cut/paste/edit code. This is the...

Multicast Join on Linux and IGMPv3

We've run into a thorny problem. We are writing a c++ program that receives multicast UDP traffic. We're in the process of moving our applications to a different network environment and our operations team has requested that we support IGMPv3 membership announcements from our applications. Initial investigations indicate that Linux 2....

How do I choose a multicast address for my application's use?

Hi, How should I choose an IPv4 multicast address for my application's use? I may need more than one (a whole range perhaps ultimately) but just want to avoid conflicts with other applications. Packets will be entirely contained within an administrative domain, probably a LAN If several independent instances of my application are in ...

Is 1-to-n multicast on the open internet reliable?

I'm a newbie at networking. I understand the concept of multicast, but was wondering if it's reliable on the open/public internet? It seems like sort of an edge case that different backbones or ISPs might intentionally break to reduce router load or generally segment the network for practical high-use applications. Is my fear reasonab...

Best tutorial for application multicasting?

I've recently become aware that there's a distinction between IP multicasting (which apparently doesn't work that well on the public internet) and application multicasting (which is apparently used in IRC and PSYC, per http://en.wikipedia.org/wiki/Multicast). Is there a good tutorial on implementing application-level multicasting? I th...

Java: Determine receiving address when receiving with MulticastSocket

Hi, I am using MulticastSocket to receive UDP Multicast packets. How can I determine to which address such a packet was sent? With the methods provided, I am only able to determine the sender address. Of course, I am the one who sets the To-Address when creating the listening socket, but can I really be sure about this? What about broa...

Is there a "nice" way to deal with reassembling multicasts from multiple sources?

Hi all I'm currently reworking our existing proprietary socket wrapper code to use boost asio so that it can do some of the heavy lifting for us. Perhaps the most complex area of our existing code is the multicast handling code. The code allows our middle-tier servers (of which there can me many in one system) to send multicasts to c...

Deliver multicast to several different geo-locations

I need to use one logical PGM based multicast address in application while enable such application "seamlessly" running across several different geo-locations (i.e. think US/Europe/Australia). Application is quite throughput (several million biz. messages a day) and latency demanding whith a lot of small but very frequently send message...

HowTo Multicast a Stream Captured with DirectShow?

I have a requirement to build a very simple streaming server. It needs to be able to capture video from a device and then stream that video via multicast to several clients on a LAN. The capture part of this is pretty easy (in C#) thanks to a library someone wrote with DirectShow.Net (http://www.codeproject.com/KB/directx/directxcaptur...

How to set up a socket for UDP multicast with 2 network cards present?

I'm trying to get udp multicast data using sockets and c++ (c). I have a server with 2 network cards so I need to bind socket to specific interface. Currently I'm testing on another server that has only one network card. When I use INADDR_ANY I can see the udp data, when I bind to specific interface I don't see any data. Function inet_a...

C# SocketException with Multicast on XP

The following C# code works correctly on Vista, but fails on XP with: SocketException: An invalid argument was supplied. The ErrorCode is 10022. The firewall on XP has been disabled. using System; using System.Net; using System.Net.Sockets; public class SocketTest { [STAThread] public static void Main() { MySocke...

How can I modify multicast TCP/IP packets' TTL?

I'm supporting a 3rd party app that sends multicast packets with a TTL of 1. We cannot modify the app, but need a higher TTL to route the packets to another customer's network. Is there a network appliance or windows (server 2003) app that will let me modify this? Is there a better approach for connecting the sender and receiver in t...

Why would my java program send multicast packets with a TTL of 1?

I have a java client program that uses mdns with service discovery to find its associated server. After much testing on a single network with Windows, Fedora 10, and Ubuntu 8.10, we delivered a test build to a customer. They report that the client and server never connect. They sent us a wireshark capture that shows the mdns packets h...

Multicast support in .Net

In order to implement a network application that uses multicasts to send small periodic messages to other processes in the network, what choices do I have with regard to using APIs in the .Net framework? Apart from my obvious current choice, the System.net.sockets API, does WCF provide a simpler approach? Or is WCF purely a point-to-poin...

Pragmatic General Multicast on Winsock

Has anyone any experience of using PGM at the winsock (not MSMQ) level on Windows? It looks like a useful reliable multicast protocol (a la TIBCO Rendezvous) and I assume that it would be possible to make something like this really fly if run over native completion-port based I/O. I've dabbled with it, at a C++ level, by writing some bo...

Multicast in Python

How do you send and receive UDP Multicast in Python? Is there a standard library to do so? ...

Using DAAP sharing across NAT

I have a Linksys WRT54G wireless router connected to a big LAN in my dorm. We regularly use DAAP (iTunes sharing) to play our own music at the different lounges and kitchens. This works fine when I connect my laptop directly to the LAN, but as soon as I access it through my router, I cannot see other shares, and they can't see mine. Prob...