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.

dsp 6748 NDK_send(SOCKET s, void *pbuf, int size, int flags)中 size参数最大可以设置多少?

您好!

请教一下,使用NDK,其中的 static inline int send(SOCKET s, void *pbuf, int size, int flags)
{
return NDK_send(s, pbuf, size, flags);

size参数最大可以设置多少? 

我在使用过程中,当发送size1048576*4字节数据时,有时会出现未发送完,函数就返回了。请赐教!

谢谢!