I created a code for STM32H743ZI lwip RTOS socket server that can connect multiple clients ,I've an issue in binding of server to socket after terminating and recreating the server thread when ethernet cable is removed and reconnected.
Termination of server thread and closing the connection is done in the disconnection of ethernet cable and the thread is recreated when ethernet cable is reconnected, the accepted clients run in separate threads. I am also terminating client handle t...