1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

prepare lwip2 (#3129)

* minimum changes for libraries to compile with lwip2

* add WiFiClient::availableForWrite() (similar to Serial::) which indicates how much data can be sent without buffering
This commit is contained in:
david gauchard
2017-04-25 15:55:01 +02:00
committed by Ivan Grokhotkov
parent a9224266f3
commit a41f55c469
6 changed files with 51 additions and 4 deletions

View File

@ -75,6 +75,8 @@ public:
void setNoDelay(bool nodelay);
static void setLocalPortStart(uint16_t port) { _localPort = port; }
size_t availableForWrite();
friend class WiFiServer;
using Print::write;