mirror of
https://github.com/esp8266/Arduino.git
synced 2025-09-11 05:52:31 +03:00
@@ -267,6 +267,9 @@ int WiFiClientSecure::available() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t WiFiClientSecure::connected() {
|
uint8_t WiFiClientSecure::connected() {
|
||||||
|
if (!_client)
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (_client->state() == ESTABLISHED)
|
if (_client->state() == ESTABLISHED)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user