I'll start of by thanking the all the people putting in the hours for this fantastic work.
I've been playing with a web server example, and then found a telnet server example. I know that you can I have one tcp server listening at a time, what I'm trying to do is to work out how to stop and free up a web server and then fire up a telnet server. I have both services in different .lua files.
If I try using .close(svr) it seems to close it but it's not freeing all the event handlers so if data is received I see panic messages in the serial console.
So I'd like to know 1. is it possible to close the tcp server down and restart it with different event handlers
2. oint me to any same code would be great
Thanks in advance