We need to receive multicast UDP packets using NDK 2.0 on a C6457.
The "IGMPJoinHostGroup" etc API is no longer available in the SDK so the example document SPRAAI3 "Using IP Multicasting with the TMS320C6000 Network Developers Kit (NDK)" is not completely applicable.
We have attempted to use the IP_ADD_MEMBERSHIP socket options in two ways:
(1) In the dtask_udp Daemon task function: This does not work because multicast packets coming in do not cause the Daemon task to start and, therefore, the socket is not set up for multicast - a chicken and egg situation.
(2) Setting up a socket by calling "socket" and using "setsockopt" and "bind" etc. This code is called from the "NetworkOpen" callback. When the code reaches "fdSelect" which waits for multicast packets to arrive the "fdSelect" never returns.
So ...
(a) Does NDK 2.0 support multicast reception on the C6457? On any C6000 DSP?
(b) If so, how do I do it? Does anybody have example code for NDK 2.0 that does this?