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.

problems with sendto function in NDK2.0.0

hello , I met such a problem:

using sendto function in  NDK2.0.0 ,when the parameter set like this:

sendto( sendSkt2 ,   (void *)( &g_UdpDataPack ) ,  SIZEinByte,  0  , (struct sockaddr *)&sendServerAddr   ,  sockAddrSize);

when the parameter SIZEinByte > 3016 , sendto function cannot work.

Is there any one know how to change this limit ?  I hope SIZEinByte can set to 8k.

thanks .