1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-12-10 20:02:26 +03:00

restore proper arduino Client:: & Wire:: API (#5969)

This commit is contained in:
david gauchard
2019-04-26 22:05:46 +02:00
committed by GitHub
parent 5dd780c571
commit cdb549572d
15 changed files with 65 additions and 52 deletions

View File

@@ -94,9 +94,9 @@ public:
virtual void flush(); // Finish reading the current packet
// Return the IP address of the host who sent the current incoming packet
virtual IPAddress remoteIP() const { return _remoteIP; };
virtual IPAddress remoteIP() { return _remoteIP; };
// Return the port of the host who sent the current incoming packet
virtual uint16_t remotePort() const { return _remotePort; };
virtual uint16_t remotePort() { return _remotePort; };
};
#endif