multicast - join igmp_group not working in lightwight IP (lwip) -


I'm new to lwip, and I want to create a multicast receiver with lwip. My steps are as follows: 1. Enable LWIP_IGMP; 2. Set NETIF_FLAG_IGMP in low_level_init (); 3. Join the multicast group, create and bind PCBs; 4. udp_connect to remote_ip (or multicast IP address? Both are tried but unsuccessful)

The group is joining the return success, and when it executes this program everything looks fine. Although the multicast receiver does not work, no multicast data network interface comes in. It seems that I would not really be included in my receiver in the igmp group, although the process of joining seems ok. Does anyone know what I am missing?

I got "netif-> igmp_mac_filter! = NULL" in igmp_joingroup (), but this callback is set as tap and has not been implemented.

Thank you very much for your help!

Ryan

/ div>

When you join a multicast group, try Netif- & gt; Igmp_mac_filter Callback is commonly asked to configure the MAC filter in your Ethernet controller. Accept the packet with the multicast MAC address related to the group. Therefore, on the basis of Ethernet H / W, you may need to apply callback to what you are using.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -