Issue with keep-alive packets in UIP

Posted by Sushant on April 4, 2013
Hii,
I am using the LM3S6965 controller..i have created a client using freeRTOS+UIP(v7.1.1) stack and IAR as IDE and i am successfully doing a client-server communication over TCP with server using the BSD socket interface..the issue is that when server sends keep-alive packets to the client, the uip stack is not able to respond with an [ACK] packet..due to this the server resets the connection after sending 2 keep-alive packets..there is absolutely no response(no outgoing packet) from the uip stack after the reception of keep-alive packet..i have not been able to figure out how keep-alive packet is handled by the uip stack(uip.c)? And why the [ACK] is not being sent by uip after receiving a keep-alive packet?

Thank You.

RE: Issue with keep-alive packets in UIP

Posted by Dave on April 4, 2013
I didn’t know uIP had a BSD socket interface? You might be better off asking on a uIP mailing list.

RE: Issue with keep-alive packets in UIP

Posted by Sushant on April 4, 2013
Hi davedoors,
Please correct me if i am wrong. I din’t mention uIP has a BSD socket interface. I was trying to say that the server i am communicating with is using BSD socket interface (the server is running on Ubuntu).
I would really appreciate any solution for the above problem.
Thank You.