aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorntruchsess <norbert.truchsess@t-online.de>2013-11-27 10:26:11 +0100
committerntruchsess <norbert.truchsess@t-online.de>2013-11-27 10:40:57 +0100
commit6cdf45953fffecad088acc9b33f7a92bca2687ba (patch)
treefea66680662e80f999305d6461f140327ce3f26c
parent68e218dda85909e8dde2a44fe2384155276f7091 (diff)
add localPort to EthernetClient, simplify operator==
-rw-r--r--cores/arduino/Client.h1
1 files changed, 1 insertions, 0 deletions
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: