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.

ndk recv tcp超长包接收问题



平台是自己做的板子6657。基于bios和ndk开发程序。用recv进行接收时,短包可以顺利接收。超长包有时候能接收,有时候返回值为-1。

请各位专家帮忙提供个思路

谢谢