Hi!
I'm sorry to say that, esp. since b4r is for free, but I hope I'm allowed to note that ESP8266WIFI is unreliable and not usable for a 24/7 environment...
I use the same (sample) code for wifi client as described here:
https://www.b4x.com/android/forum/threads/memory-leak-in-wifisocket-connecthost.74286/
The first connection from a client throws wifiServerSocket_NewConnection() successfully. But every following connection (from other clients) leads to less memory on the ESP8266 (Wemos D1), although the code in wifiServerSocket_NewConnection() is not fired after successful connection. But while disconnecting the first connection all wifiServerSocket_NewConnection()s are fired, but this is too late.
Do you have a solution for this? This means that sending a lot request to my device will make it crash...
Thanks for your support!
Jan
I'm sorry to say that, esp. since b4r is for free, but I hope I'm allowed to note that ESP8266WIFI is unreliable and not usable for a 24/7 environment...
I use the same (sample) code for wifi client as described here:
https://www.b4x.com/android/forum/threads/memory-leak-in-wifisocket-connecthost.74286/
The first connection from a client throws wifiServerSocket_NewConnection() successfully. But every following connection (from other clients) leads to less memory on the ESP8266 (Wemos D1), although the code in wifiServerSocket_NewConnection() is not fired after successful connection. But while disconnecting the first connection all wifiServerSocket_NewConnection()s are fired, but this is too late.
Do you have a solution for this? This means that sending a lot request to my device will make it crash...
Thanks for your support!
Jan