I have a Kinetis K60 tower system and I'm listening on port UDP 1900 for multicast datagrams for the UPnP (SSDP) protocol. Unfortunately, I never manage to receive anything from IP address 239.255.255.250 - the multicast address. Port 1900 is definitely open and working over UDP as I have a test application working with the MQX tower stack.
Using Wireshark, I can see the SSDP packets flying around with the various UPnP devices listening on port 1900 responding appropriately however my tower still receives no data.
Any clues? I may be missing some configuration values in the MQX BSP but I'm not sure which needs turning on or off.
Thanks in advance
Solved! Go to Solution.
Fixed. I had to add my IP address to the IGMP multicast group (239.255.255.250) using setsockopt.
Fixed. I had to add my IP address to the IGMP multicast group (239.255.255.250) using setsockopt.