Search found 1 match

by trahman
Tue Jul 09, 2024 1:25 pm
Forum: ESP-IDF
Topic: How to - Socket disconnect handling on WIFI_EVENT_AP_STADISCONNECTED?
Replies: 0
Views: 474

How to - Socket disconnect handling on WIFI_EVENT_AP_STADISCONNECTED?

Hi, according to the API documentation, sockets should be closed by the application if a station disconnects from a SoftAP: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/wifi.html#wifi-event-ap-stadisconnected Are there any examples of how to do this? I'd like to close the c...