如果我有服务所在的IP地址(例如70.70.70
)、要连接的多播组(例如224.25.25
,以及端口(例如2020
。),如何连接到远程udp多播?
我使用ACE框架,在嗅探器中,我看到ACE将IGMP数据包发送到<code>224.0.0.2
如果我有服务所在的IP地址(例如70.70.70
)、要连接的多播组(例如224.25.25
,以及端口(例如2020
。),如何连接到远程udp多播?
我使用ACE框架,在嗅探器中,我看到ACE将IGMP数据包发送到<code>224.0.0.2
路由器很少被制造和配置为支持向其他网络重新发送多播数据包。换句话说,多播通常只通过一个子网工作。在大多数情况下,互联网上的多播是基于在对等点之间建立TCP连接,并使用TCP连接之上的一些传输发送消息(查找有关面向消息的中间件的信息)。
如果你有一个特定的服务器,它欢迎你加入它的多播,也许你可以提供更多关于这个服务器提供什么以及需要配置什么的细节。
我只见过多播在本地子网上工作,所以一个好的第一个测试是在本地计算机上设置多播服务,看看它是否工作。我从未成功地将多播用于远程服务,只有在所有路由器都可以控制的地方,比如在公司防火墙后面。似乎它应该起作用,我想看看一般情况下的例子。。。
你需要IP隧道,基本的VPN服务可以工作,但根据你的配置,你可能需要高于此的多播路由。浏览到serverfault或superuser以获取更多帮助。
I have an IP address where the service resided (say 70.70.70.70)
你不需要那个。
the multicast group to connect (say 224.25.25.25)
你需要这个。您需要使用该地址发出加入组操作。
和港口(比如2020年)?
您应该有一个UDP套接字在该端口侦听。
I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...
I have been searching for sample code creating iterator for my own container, but I haven t really found a good example. I know this been asked before (Creating my own Iterators) but didn t see any ...
Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...
I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?
Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...
Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?