Score:0

LWIP TCP SERVER Hangs

in flag

I'm using LWIP v2.1.3 with TI F28388D Controller. I'm using LWIP as TCP server only mostly in ping-pong mechanism like :

Client Server
PSH-->
<-- ACK
<-- PSH
ACK-->

A windows client(host PC typically) will be connected to multiple servers like this and will continuously have above transactions.

I'm able to connect and exchange data with multiple servers from single client but the problem here is If I run continuously for longer runs (>12HRs) I will see that any of the server will not respond for any of the commands from clients and there will not be response for PING aswell.

In wireshark capture I see that there will be TCP_retransmission packets when issue occurred like below: tcp retransmission

And I also see that there are tcp dup ack packets in regular intervals.

I can share the lwippopts.h file if required.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.