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.
Tool/software:
Hi,
This is a TCPIP question that should be simple.
On my M3 processor, I'm running a code that accept TCP connections, as demonstrated in https://github.com/alexeicolin/tirtos/blob/master/packages/examples/tcpEcho.c.
I have to PCs from which I try to connect.
Somehow, only one accept() call returns.
The first request is always accepted (from whatever PC), but the accept function does not return from the next call to SockAccept which remains blocked.
And yes, as you can see - I am debuging the internal implementation, too.
What went wrong in your opinion?
We do have strict memory limitations, so we modified the cfg file a little bit.
Global.ndkThreadStackSize = 1536;
Global.lowTaskStackSize = 768;
Global.normTaskStackSize = 768;
Global.highTaskStackSize = 768;
Global.pktSizeFrameBuf = 1552;
Global.pktNumFrameBufs = 2;
Global.memRawPageSize = 768;
In the example Global.pktNumFrameBufs = 10; In our case, we will get a linker error since the code was written in an inefficient way, but I wonder if this is a bug in the network stack, or some miising parameter of mine.
Thanks,
Yoav