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