[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [lwip-users] Re: Join Multicast Group

From: Mathias Zenger
Subject: AW: [lwip-users] Re: Join Multicast Group
Date: Wed, 15 Jul 2009 10:16:20 +0200

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.


-----Ursprungliche Nachricht-----
Von: address@hidden
[mailto:address@hidden Auftrag
von Jakob Stoklund Olesen
Gesendet: Mittwoch, 15. Juli 2009 08:53
An: address@hidden
Betreff: [lwip-users] Re: Join Multicast Group

Kieran Mansley <address@hidden> 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().


lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]