|Subject:||Re: [lwip-users] Closing tcp-Connection|
|Date:||Tue, 21 Oct 2014 20:40:25 +0200|
thanks for the feedback.
I was not aware that there Is something happening after the connection is closed.
So the correct way for closing the connection is
- Calling tcp_close ()
- If successful, remove callbacks and
- Set the pointer to the pcb to zero to avoid socket reuse
Thanks again for the help.
In other words, do another call to tcp_new() when you want to reconnect
|[Prev in Thread]||Current Thread||[Next in Thread]|