lwIP reconnect same address+port
Posted: Tue Mar 28, 2017 9:30 am
Hello all,
I've been looking for a way to reconnect my ssl connection.
I can set-up my connection and close it, but then I have to wait a certain amount of time before binding/connecting on the same address+port according to:
I would like to know if there is another way to clear the resources in said stack. Or if there is another way to reconnect besides rebooting/waiting/keeping the connection alive.
I've been looking for a way to reconnect my ssl connection.
I can set-up my connection and close it, but then I have to wait a certain amount of time before binding/connecting on the same address+port according to:
http://lwip.wikia.com/wiki/Netconn_bindOnly after some time (minutes) the resources are completely cleared in the underlying stack due to the need to follow the TCP specification and go through the TCP timewait state.
I would like to know if there is another way to clear the resources in said stack. Or if there is another way to reconnect besides rebooting/waiting/keeping the connection alive.