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.
使用的是HUA的NDK基本模板,静态IP地址,初次执行NC_NetStart无任何问题,主机能够ping通DSP。根据NDK手册的说明,NC_NetStop可以使NC_NetStart重启,在另外一个线程(优先级为1,最低)调用了NC_NetStop(1),引起了NetworkClose函数的执行(该函数和NetworkOpen函数都未添加TCP、UDP服务,只是使用printf打印了提示信息),NetworkClose执行完后,NC_NetStart显示“double mmfree”的警告信息,由于NC_NetStop的参数为1,NC_NetStart再次执行,但是此后再无“IP add”的信息提示,也ping不同DSP。整个过程没有太多自己的代码,都是NDK的例子,NC_NetStart重启无IP服务,这是可能是什么问题引起的?