ESP8266WiFi server.available() disconnects the client
Posted: Fri May 08, 2015 5:00 am
This line
or even
will actually accept the connection and disconnect the client immediately if there was one waiting. Is this intended, and, if so, is there any other way to know if there is a client waiting?
Thnx
Ivan
Code: Select all
if (server.available()>0)
or even
Code: Select all
Serial.print(server.available())
will actually accept the connection and disconnect the client immediately if there was one waiting. Is this intended, and, if so, is there any other way to know if there is a client waiting?
Thnx
Ivan