UDP组播在互联网上? [英] UDP Multicast over the internet?

查看:452
本文介绍了UDP组播在互联网上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何最好地处理我的问题。我有一个运行服务的远程机器上接收和处理UDP数据包。我希望服务能够这些分组重新发送到任何人碰巧要它们(可能是任何人,通常是一台计算机,但也可以是更多)

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 these packets to anyone that happens to want them (could be no-one, will typically be one machine, but may be more)

我想通UDP多播将是理想的 - 该服务可以发送到组播组,它无关紧要多少接收机已经注册,或者即使有没有。

I figured UDP Multicasting would be ideal - the service can send to the multicast group and it doesn't matter how many receivers have registered, or even if there are none.

不过,我希望能够我收集这是近了,在无法用UDP多播访问此通过互联网和。有没有我可以用它来实现这一目标的另一种方法?

However, I want to be able to access this over the internet and from what I gather this is nigh-on impossible with UDP Multicasting. Is there another method I might use to achieve this?

如果相关的,我的两个客户端和服务都写在C#。

If relevant, both my client and service are written in C#.

推荐答案

在一般由于组播包没有路由,这是不可能的。

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

有一些技巧来解决这个(DVMRP,MOSPF等),但它们都需要,你可以配置所有的服务器和客户端之间的路由器(或创建一个隧道)。有骨干网(阿比林,MBONE)组播的支持,但这些大学和这种最感兴趣的。普通消费者的互联网有没有组播。

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

这篇关于UDP组播在互联网上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆