LennartHennigs / ESPTelnet

ESP library that allows you to setup a telnet server for debugging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to stop

F1p opened this issue · comments

commented

Requesting TelnetServer.stop(); doesn't close an active connection, only prevents new?

commented

I observed different behaviour,

Is it possible to enable/disable the telnet server?

This is what stop()does.
You can disconnect a client via disconnectClient(bool triggerEvent = true) as stated in the documentation

commented

When calling stop() I found new connections prevented, but already established connections would remain active until terminated by the user