forked from espressif/arduino-esp32
Additions to WiFiClient and WiFiServer (#404)
Required for WebServer and/or DNSServer libraries
This commit is contained in:
@ -44,6 +44,7 @@ public:
|
||||
int connect(const char *host, uint16_t port);
|
||||
size_t write(uint8_t data);
|
||||
size_t write(const uint8_t *buf, size_t size);
|
||||
size_t write_P(PGM_P buf, size_t size);
|
||||
int available();
|
||||
int read();
|
||||
int read(uint8_t *buf, size_t size);
|
||||
@ -84,6 +85,10 @@ public:
|
||||
IPAddress remoteIP(int fd) const;
|
||||
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;
|
||||
|
||||
IPAddress localIP() const;
|
||||
IPAddress localIP(int fd) const;
|
||||
|
Reference in New Issue
Block a user