CTBot
CTBot copied to clipboard
Function testConnection is still prone to sudden freeze in 3.0.0 :(
In my project (on 8266), it is necessary to determine the presence of the Internet once a second. In the current version I use the Pinger.h library to big dns servers like 1.1.1.1 or 8.8.8.8 which works flawlessly. I tried to use the function testConnection from 3.0.0 version instead of pinger, and I get a hard hang after a short time - 20-50 minutes. At the same time, functions getNewMessage and sendMessage seem to work much more stable and I do not observe any hangs on it yet.
Hello Hamster66,
thank you for your feedbacks. Regarding the CTBot::testConnection()
member function, I'll do some test.
It is a "creative" way to use that member function (I made it just for an initial test hehe).
Cheers
Stefano