Hi All,
I'm developing a firmware that acts as http server on port 8080 and as client, making connection to a remote http server.
If I enable only the http server (8080) all works fine, I can connect to the tiva by my pc web browser, but if I enable the http client too (it start making connection every 5 seconds to a remote server sending an alive message), randomly the tiva crash and the watchdog reset the micro. Can the lwip stack manage both server and client at the same time, active and passive connections ?
I have reduced the crash checking the pcb state before pass it to the tcp_close () to close the connection, if I pass it in closed state the tiva crash too much times, but I don't know if it's a stack bug, varius examples call tcp_close without make this check.
Thanks! !
Riccardo