We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bd788d commit aac1a65Copy full SHA for aac1a65
hardware/arduino/cores/arduino/Client.h
@@ -19,6 +19,8 @@ class Client : public Stream {
19
virtual void stop() = 0;
20
virtual uint8_t connected() = 0;
21
virtual operator bool() = 0;
22
+ virtual IPAddress remoteIP() = 0;
23
+ virtual uint16_t remotePort() = 0;
24
protected:
25
uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
26
};
0 commit comments