UDP sendto return ENOMEM when a station disconnected.
Posted: Mon Feb 05, 2024 7:45 am
There are three devices A, B and C, where A is the AP, B and C are the stations. Device A sends data to the B and C using UDP, during the transmiting, if B or C disconnected or powered off, the sendto() will return ENOMEM for a long time (approximate 3 seconds). I traced this issue and find esp_wifi_internal_tx() return this error. Does anyone know the reason for this issue?