Additions to WiFiClient and WiFiServer (#404)

Required for WebServer and/or DNSServer libraries
This commit is contained in:
bbx10
2017-06-14 01:22:16 -07:00
committed by Me No Dev
parent 6af648e8f5
commit b05c7dfa59
4 changed files with 22 additions and 1 deletions

View File

@ -224,6 +224,11 @@ size_t WiFiClient::write(const uint8_t *buf, size_t size)
return res;
}
size_t WiFiClient::write_P(PGM_P buf, size_t size)
{
return write(buf, size);
}
int WiFiClient::read(uint8_t *buf, size_t size)
{
if(!available()) {