Http server track client connections

Gitprodenv
Posts: 12
Joined: Mon Jun 06, 2022 1:32 pm

Http server track client connections

Postby Gitprodenv » Sat Sep 03, 2022 2:52 pm

I want to run a HTTP Webserver. Is there any way to track the current active client connections on the server, and if there are no active sockets found, I want to shut down the server and wifi.

I know that WiFi in AP mode has WIFI_EVENT_AP_STACONNECTED and WIFI_EVENT_AP_STADISCONNECTED event, but is there something similiar to get current client connections on the server, for graceful server shutdown?

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], MicroController and 104 guests