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.

TMS320C6678: NDK 可以发送ARP包,但是却无法收到回应的ARP包

Part Number: TMS320C6678

测试DSP与PC之间的ARP数据包的收发

代码如下

测试结果为:

PC端通过wireshark可以抓到DSP发送的ARP包并且给出了回应

但是DSP端接收不到任何数据,错误提示为  EWOULDBLOCK  35,意思为非阻塞错误,将套接字设置为阻塞模式之后,同样可以正常发送,但是会一直阻塞在接收函数,无法接收到数据

问题:

是ARP包NDK不支持应用层接收?还是哪里出的问题呢

x 出现错误。请重试或与管理员联系。