aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/Client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/Client.h b/cores/arduino/Client.h
index ea13483..0222896 100644
--- a/cores/arduino/Client.h
+++ b/cores/arduino/Client.h
@@ -19,6 +19,8 @@ public:
virtual void stop() = 0;
virtual uint8_t connected() = 0;
virtual operator bool() = 0;
+ virtual IPAddress remoteIP() = 0;
+ virtual uint16_t remotePort() = 0;
protected:
uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
};