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 recv command taking a long time (13 seconds)

I have an application with a DSK6455 DSP and an NDK stack which is a HTTP server.  I have a CGI function that is called by the stack when a Post is issued by the user agent.  The Post and the ACK for the post happen quickly.  I can see the data for the Post in the packet via WireShark.  But then the code calls the socket function recv.  Nothing happens for 13 seconds and then a time out message is printed in the status window of Code Composer followed immediately by a Submitted message to the user agent and an ACK by the user agent back to the server.  At which point the recv funtion returns with the data and everything is happy again.

Could someone give me an idea of where I should begin debugging this? 

 

Thanks!