问题描述
我遇到了一个具体问题如下的问题:
我有一个多播组,在该组中,我已经观察到,多播组中的成员发送的udp数据包会根据其他成员加入该组的顺序而被其他成员接收.
例如:如果server1,2,3,4按各自的顺序加入组,则如果在该组中接收到一个数据包,则该数据包将首先被1接收,然后是2,依此类推.
我还通过一些测试应用程序检查了此行为.
我正在使用Winsock2,请让我知道它们是否在内核级别进行排序,并在可能的情况下对组成员进行优先级排序.
Hi,
I have come across a problem whose specifics are as follows:
I have a multicast group in which i have observed that, a udp packet sent by a member in a multicast group is received by other membes based on the sequence in which they have joined the group.
for eg: If server1,2,3,4 join groups in respective sequence then if a packet is received in the group it is received first by 1 then 2 and so on.
I have checked this behaviour via some test applications aswell.
I am using Winsock2 ,Please let me know if their is sequencing at kernel level and to priortize the group members if possible.
推荐答案
这篇关于组播成员优先级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!