简体   繁体   中英

Notify on leaving a multicast group

I set up a listener on a multicastgroup

udpclient.JoinMulticastGroup(multicastaddress, localIpAddress);
while(listeing)
    data = udpclient.receive(ref remoteep);

Afaik i don't get informed when an other member in the same multicastgroup leaves. I see it in wireshark under the IGMP Protocol.

How can i be informed when a member leaves the multicastgroup on my c# listener?

You can't. There is no API for it at the C level so no way of implementing one at a higher level.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM