AnsweredAssumed Answered

lwip packet sending failed if larger buffer used

Question asked by ali on Jan 15, 2011
Latest reply on Jan 19, 2011 by ali

I am using LwIP sample application in VDK to build upon.

 

In the Caesar Cipher thread I have a 2 global char arrays iTx and iRx .. If i use a size of 128 bytes for both arrays, the system sends packets just fine. But if i use a 256 byte allocation for both arrays. The "sendto" function fails with a error code of "0" . I'm using GetSocketError() to get the error.

 

I have also tried allocated this memory through system heap using malloc. but the behaviour is the same.

 

Caesar Ciper thread has a stack size of 2048 bytes (i've resized it).

 

 

 

What could be the problem ??

Outcomes