Unable to close UDP sockets
I get an error when creating UDP sockets, errno 23, "too many files open", after the third creating cycle.
The model attached will demonstrate the problem.
To run the model you should power up the esp32 devkit and connect with a mobile phone to the WIFI AP "ESP_ROUTER1".
The passcode is set to "WAIJUNG1234".
But before power up the esp32 device, please open a serial ascii terminal, baudrate 115200.
The esp32 module will print debug information every 5 seconds. the info shows the number of connected clients and the state of the UDP sockets.
After creating the 4 sockets, it will be active for 20 second, after this the 4 sockets will be closed for a period of 40 seconds.
This loop is repeating endless.
When the sockets created for the third time, the esp32 will report errno 23, there are too much udp sockets open.
From this moment the esp32 will show this errno 23 every time you try to create new sockets.
Hopefully you can solve this problem, at this moment the UDP socket can not be used in an application, sooner or later the application get stuck.
Thanks for the patch file.
It seems to be the right solution for this issue.
The esp32 is now running for several hours, endless opening and closing udp sockets, without errors.
Thanks for the great service, and have a nice day.
How is it going with this issue, when do you expect to send the patch file?
Do you've an update about this issue.
It should be nice when there is a solution end of this week.
I need to release the customer product, but without correct software, it is not possible.