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.

ti ndk tcp recv 问题



我做了一个tcp接收的程序,接收文件存盘。

发现从pc发送到板子,速度太快,接收window急剧降低(window为64000)。每次接收1000,最后一次接收到240

然后到64240的时候,(发送当然不止64240)接收就停止了,直接返回-1.

用wireshark看,可以看到开始板子ack的window下降,然后最后一次ack的window为240.此时pc停止发送,板子发送TCP Window Update到pc。

pc接着发送,但是此时板子不接收了,然后pc开始发送Retransmit timeout 。然后板子就recv就返回-1了。

请问是啥问题?怎么解决