Nucleo-STM32F207 LwIP TCP CLIENT fails to connect to the server
Good Morning All,
I have good experience on stm32 microcontrollers and cubemx, but I am new when it comes to LwIP.
I followed some basic setups to generate the code using CubeMX tool.
1.Selected the board as Nucleo-F207ZG,configured clock on 120Mhz.
2.Enabled Ethernet module in RMII mode,configured UART3 just for debugging.
3.Enabled LwIP stack and I didn't change any settings for this.I followed what by default settings were there.
I have some info on LwIP so I new we need to call MX_LWIP_Process() function in while loop.I made such code that until the board gets IP address it stays in while loop and movement it gets the IP address it breaks that loop and jumps to next while loop in which only MX_LWIP_Process() function is running.

Key Option Settings


I am here because I am able to ping the board from my laptop,but not able to connect to the software Hercules(TCP Server).
I have attached my code zip and also pasted the main.c code.
