FreeRTOS+TCP support for multicast and mdns

Does FreeRTOS+TCP support multicast? Is there an implementation of mDNS above +TCP? best regards Max

FreeRTOS+TCP support for multicast and mdns

There is only one multi-cast address “supported” in FreeRTOS+TCP: the LLMNR protocol. As far as I know, there are no plans yet to support other multi-cast protocols. It shouldn’t be too difficult though to write an application hook, and call it from the function xProcessReceivedUDPPacket(). In that function you will see that LLMNR requests are handled as well.

FreeRTOS+TCP support for multicast and mdns

@Hein, so we can implement SSDP on xProcessReceivedUDPPacket()?

FreeRTOS+TCP support for multicast and mdns

Yes, that is where I would testthe target address, and if it is a multi-cast address, do a call-back

FreeRTOS+TCP support for multicast and mdns

what do you mean by “There is only one multi-cast address “supported” in FreeRTOS+TCP”? I found written that FreeRTOS+TCP supports multicast without indicating limitations of number of addresses. screenshot I can’t figure out who’s right.

FreeRTOS+TCP support for multicast and mdns

what do you mean by “There is only one multi-cast address “supported” in FreeRTOS+TCP”?
I mean that the FreeRTOS+TCP make use of only one multi-cast address: the one that belongs to the LLMNR protocol ( 224.0.0.252 ).
I found written that FreeRTOS+TCP supports multicast without indicating limitations of number of addresses. I can’t figure out who’s right.
Indeed [here](Sockets can also be used to send and receive broadcast and multicast communications) it says: “Sockets can also be used to send and receive broadcast and multicast communications” I’m afraid the text is not correct. Yes you can send multicast messages, but the return path hasn’t been implemented yet. You would have to allow the reception of the multicast address(es) in the EMAC. Also, the packet filter sould be changed to allow for multicast addresses.

FreeRTOS+TCP support for multicast and mdns

Is the offending text something in a forum post or in the +TCP documentation? I can’t access the link.

FreeRTOS+TCP support for multicast and mdns

Sorry the link was bad. This is the link: https://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/socket.html In which to following should be changed: -Sockets can also be used to send and receive broadcast and multicast communications +Sockets can also be used to send and receive broadcast communications