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: TMS320C6678的NDK用TCP发送数据问题

Part Number: TMS320C6678


在做多核的时候,核1创建了两个TCP的socket,其中一个socket用于核2发送一个高速率的大数据包,通过共享内存将socket的值转递给核2,核2调用send去发送,测试的时候,我每个包暂定25字节,每次send返回值都是25,但是抓包发现每一次发送数据都会迭代前一次的数据,如下图

FF为帧头,FF后面一个字节为帧计数,可见,我发了三包,第三包发的是ff 02 03 03...,可是抓包却抓到了之前发送的ff 00...和ff 01...同时,在包详情也可以看到,数据长度分别为25,50,75,应该每包都是25才对,这是为什么?