English 中文(简体)
In order for Udp multicast to work, router must support it?
原标题:

I am wondering for the udp multicast to work, router must support it?

最佳回答

Multicast is based on dynamically generated trees that can (theoretically) span the entire internet. These multicast trees are based on two protocols:

  • IGMP: Internet Group Management Protocol. Used by receivers and users like me and you.
  • PIM: Protocol Independent Multicast. Used by routers to replicate and reroute the packets accordingly.

The client needs to be IGMP-compatible, and the routers need to be PIM-compatible.

问题回答

To be precise, you will need a multicast router if you want the traffic to traverse different subnets. Normally you can expect multicast to work fine on your local subnet.

Side note, many layer 2-3 switches do not include multicast routing functionality, they can however forward to an external multicast router. Multicast routing can be enabled in CISCO routers, etc.





相关问题
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 ...

.NET Alternatives to UDP Multicast

I am looking for an alternative to using UDP multicast on the .NET Framework and am looking for suggestions. I need to send messages to several web servers running quite a few ASP.NET applications. ...

Collection replication using multicast

need a technology (open source or build myself) usable from C# that allows me to in one process maintain a “master” collection of objects (says a Dictionary of Customer objects) and in n other “client”...

Determine the remaining TTL of a multicast packet in Java

If I have a Java program that listens to multicast data, how can I tell what the remaining TTL of the incoming datagram is? I know how to set the TTL on the sending multicast socket, but I want to ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

热门标签