UDP Multicast over the internet?

后端 未结 2 1294
后悔当初
后悔当初 2020-12-01 10:49

I\'m not sure how best to approach my problem. I have a service with runs on a remote machine with receives and process UDP packets. I want the service to be able to re-send

相关标签:
2条回答
  • 2020-12-01 11:17

    In general this is not possible since multicast packets aren't routed.

    There are some techniques to work around this (DVMRP, MOSPF and others) but they all require that you can configure all the routers between your server and the clients (or create a tunnel). There are backbone networks (Abilene, Mbone) with multicast support, but those are of most interest for universities and such. The normal consumer's internet does not have multicast.

    Unfortunately you need point-to-point communication. But you are in good company, internet, radio and TV all do point-to-point, transmitting the same data numerous times. Quite a waste of bandwidth.

    0 讨论(0)
  • 2020-12-01 11:39

    The preferred method is to use overlay multicast, i.e. use TCP links between peers and implement multicast semantics above that.

    Many IPv4 routers do not support multicast or have it disabled, IPv6 is mandated to support multicast and broadcast semantics have been removed.

    0 讨论(0)
提交回复
热议问题