Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Henning
#61430 1.) global WiFiClient client --> no difference

2.) .abort() --> class WiFiClient has no member named 'abort'

I can`t believe that the tcp/ip stuff is 'eating' memory ... but the memory never "returns". The following loop ends with 5032 bytes heap and client.connect is never called again ...

Code: Select allvoid loop()
{
  WiFiClient client;
  int heap = ESP.getFreeHeap();

  if( heap > 5000 )
  {
    client.connect(host, 80);
    client.stop();
    Serial.printf( "\n%d", heap );
  }
}
User avatar
By alemlishar
#61499 Hello Henning,

can we consider the issue as a bug? i still can't find any solution to it, do you have any alternate idea to overcome the issue even to use different mechanism to connect to the tcp server?

regards
User avatar
By Henning
#61515 Hmmm ... if nobody points to an error in our code I would suggest a bug. But I`m careful with such a statement, can somebody from the specialists give us a hint, please ?