From 6cdf45953fffecad088acc9b33f7a92bca2687ba Mon Sep 17 00:00:00 2001 From: ntruchsess Date: Wed, 27 Nov 2013 10:26:11 +0100 Subject: add localPort to EthernetClient, simplify operator== --- cores/arduino/Client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores') diff --git a/cores/arduino/Client.h b/cores/arduino/Client.h index 0222896..3f686f9 100644 --- a/cores/arduino/Client.h +++ b/cores/arduino/Client.h @@ -19,6 +19,7 @@ public: virtual void stop() = 0; virtual uint8_t connected() = 0; virtual operator bool() = 0; + virtual uint16_t localPort() = 0; virtual IPAddress remoteIP() = 0; virtual uint16_t remotePort() = 0; protected: -- cgit v1.2.3-18-g5258