Thanks for the replies. I still have the same problems. I can not use the raw API since I am using FreeRTOS. That is why I use
setsockopt(fd_socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) for joining the group. Unfortunately there is no IGMP packet output. Any further ideas or an example (using socket API) around? Thanks. Mathias -----Ursprungliche Nachricht----- Von: [email protected] [mailto:[email protected]]im Auftrag von Jakob Stoklund Olesen Gesendet: Mittwoch, 15. Juli 2009 08:53 An: [email protected] Betreff: [lwip-users] Re: Join Multicast Group Kieran Mansley <[email protected]> writes: > On Tue, 2009-07-14 at 14:41 +0200, Mathias Zenger wrote: >> Since it is possible to enable LWIP_IGMP I thought >> this feature would be supported by lwIP. Does anybody have an explanation >> for the failures or can somebody even provide me a working example? > > lwIP should, I think, support IGMP multicast for UDP sockets. I haven't > done this myself, so can't help directly with a working example, but I > would first try it without binding multiple sockets to the same address. > I.e. get rid of the SO_REUSEADDR stuff, in case that is causing a > problem. I am using UDP multicast from the raw API. It works very well. IGMP packets are sent after calling igmp_joingroup(). /jakob _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
