1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

TCP: fixes backlog limit handling, and allows ephemeral TCP connections (#7096)

* fix backlog limit handling, and allow ephemeral TCP connections
* do not retain empty connections
This commit is contained in:
david gauchard
2020-02-24 07:16:55 +01:00
committed by GitHub
parent 2b640c0189
commit 2d58be744b
3 changed files with 35 additions and 33 deletions

View File

@ -346,7 +346,7 @@ uint8_t WiFiClient::status()
WiFiClient::operator bool()
{
return connected();
return available() || connected();
}
IPAddress WiFiClient::remoteIP()