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.

NDK sends RST on attempt to open TCP socket



I'm using NDK 2.0 on a C6455 application.  Our application was based off the "hello world" example included with the NDK.  For the most part, the NDK works fine for our application.  But occassionally it gets in a state where it does not accept requests to open a TCP socket.  In this situation the NDK (acting as the server) responds to the SYN (open request from client) with a RST (reset).  Repeated SYNs from the client just get more RSTs from the NDK.  After several minutes of retries, or after rebooting our server, the SYN will finally be accepted with a SYN-ACK and the socket will be opened successfully.

It seems like this reset condition occurs if we try to open the socket too soon after powering the server up or too soon after connecting the Ethernet cable.  If we wait a few seconds before attempting to open the socket then the open is accepted immediately.

Any suggestions on what causes these resets or how to avoid them would be appreciated.