add localPort to EthernetClient, simplify operator==
This commit is contained in:
parent
68e218dda8
commit
6cdf45953f
|
@ -19,6 +19,7 @@ public:
|
||||||
virtual void stop() = 0;
|
virtual void stop() = 0;
|
||||||
virtual uint8_t connected() = 0;
|
virtual uint8_t connected() = 0;
|
||||||
virtual operator bool() = 0;
|
virtual operator bool() = 0;
|
||||||
|
virtual uint16_t localPort() = 0;
|
||||||
virtual IPAddress remoteIP() = 0;
|
virtual IPAddress remoteIP() = 0;
|
||||||
virtual uint16_t remotePort() = 0;
|
virtual uint16_t remotePort() = 0;
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue