File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,10 @@ uint8_t WiFiSSLClient::connected() {
219
219
}
220
220
return rv;
221
221
}
222
+ bool WiFiSSLClient::operator ==(const WiFiSSLClient& whs)
223
+ {
224
+ return _sock == whs._sock ;
225
+ }
222
226
223
227
/* -------------------------------------------------------------------------- */
224
228
IPAddress WiFiSSLClient::remoteIP () {
Original file line number Diff line number Diff line change @@ -46,7 +46,11 @@ class WiFiSSLClient : public WiFiClient {
46
46
virtual operator bool () {
47
47
return _sock != -1 ;
48
48
}
49
-
49
+ virtual bool operator ==(const WiFiSSLClient&);
50
+ virtual bool operator !=(const WiFiSSLClient& whs)
51
+ {
52
+ return !this ->operator ==(whs);
53
+ };
50
54
virtual IPAddress remoteIP ();
51
55
virtual uint16_t remotePort ();
52
56
You can’t perform that action at this time.
0 commit comments