ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Sprite_tm
#42218 I think the easiest way would be to close the listening sockets, then to wait until all the active connections are done, then reinitialize esphttpd with the new port. It mostly comes down to making sure everything gets closed and free()-ed, otherwise it's very easy to leak resources or memory.