File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,19 @@ void ICACHE_FLASH_ATTR WiFiClient::_err(int8_t err)
123
123
esp_schedule ();
124
124
}
125
125
126
+
127
+ void ICACHE_FLASH_ATTR WiFiClient::setNoDelay (bool nodelay) {
128
+ if (!_client)
129
+ return ;
130
+ _client->setNoDelay (nodelay);
131
+ }
132
+
133
+ bool ICACHE_FLASH_ATTR WiFiClient::getNoDelay () {
134
+ if (!_client)
135
+ return false ;
136
+ return _client->getNoDelay ();
137
+ }
138
+
126
139
size_t ICACHE_FLASH_ATTR WiFiClient::write (uint8_t b)
127
140
{
128
141
return write (&b, 1 );
Original file line
6904
number Diff line number Diff line change @@ -55,6 +55,8 @@ class WiFiClient : public Client {
55
55
56
56
IPAddress remoteIP ();
57
57
uint16_t remotePort ();
58
+ bool getNoDelay ();
59
+ void setNoDelay (bool nodelay);
58
60
59
61
template <typename T> size_t write (T &src){
60
62
uint8_t obuf[1460 ];
You can’t perform that action at this time.
0 commit comments