This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6748: 6748 组播问题咨询

Part Number: TMS320C6748


使用组播的相关参考资料及案例呢,以下是遇到的问题:

   IP4_ADDR(&ipgroup_rev, 239,12,2,22);//用于发送组播的地址
err=igmp_joingroup(IP_ADDR_ANY,(struct ip_addr *)(&ipgroup_rev));
if(err!=ERR_OK)

 printf("err=%d\n",err);
其中 err=igmp_joingroup(IP_ADDR_ANY,(struct ip_addr *)(&ipgroup_rev));  这个函数总是返回失败。
这个文件opt.h 下的组播宏也已经打开了。
#ifndef LWIP_IGMP
#define LWIP_IGMP                      1
#endif