I am running a server and a client on two microcontrollers that have their TCP/IP stack setup in the exact same way. Sometimes it works, but more often than not I cannot get reliable communication between the two. The hardware is fine, and my links are short with a switch that has nothing else connected to it.
I keep getting this error on the server side after a connectionis established, but I don’t get the same error on the client side.
When I reduce the buffer size to 520 bytes, I get the following on the server side, but not on the client
eSYN_RECEIVED: ACK expected, not SYN: peer missed our SYN+ACK
Any ideas where I could start debugging to see where the issue is?
Thanks in advance