diff options
author | ntruchsess <norbert.truchsess@t-online.de> | 2013-11-27 10:26:11 +0100 |
---|---|---|
committer | ntruchsess <norbert.truchsess@t-online.de> | 2013-11-27 10:40:57 +0100 |
commit | 6cdf45953fffecad088acc9b33f7a92bca2687ba (patch) | |
tree | fea66680662e80f999305d6461f140327ce3f26c /cores/arduino/Client.h | |
parent | 68e218dda85909e8dde2a44fe2384155276f7091 (diff) |
add localPort to EthernetClient, simplify operator==
Diffstat (limited to 'cores/arduino/Client.h')
-rw-r--r-- | cores/arduino/Client.h | 1 |
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: |