Add WiFiClient localIP and localPort (#428)

Implement methods from ESP8266WiFiClient but use sockets API.
This commit is contained in:
bbx10
2017-06-14 01:17:14 -07:00
committed by Me No Dev
parent 73cd8d7f7e
commit 26677a4b05
2 changed files with 33 additions and 0 deletions

View File

@ -85,6 +85,11 @@ public:
uint16_t remotePort() const;
uint16_t remotePort(int fd) const;
IPAddress localIP() const;
IPAddress localIP(int fd) const;
uint16_t localPort() const;
uint16_t localPort(int fd) const;
//friend class WiFiServer;
using Print::write;
};