Freertos-tcp server has problem when I close then open client


here is my code, i can’t find the problem of code…


This is the packet captured by me using Wireshark.

Could you please post these in the original thread that you created and close this one?

As @tony-josi-aws suggested, lets use this issue - About freertos_tcp fin.