Comments (5)
esp32 doesn't have true client.flush(). client.flush clears the receive buffer there.
from telnetstream.
One of the code examples actually says no clear in the title. Have a look at that.
from telnetstream.
from telnetstream.
Thanks for the answers!
I understand that the wifi flush is not a flush but a clear which throws away the buffer.
Ok, but is there a way to implement a real "flush : Output whatever is in the queue/buffer via the device or port" ?
I'm using TelnetStream to log/debug several xtasks. A mutex to protect a flush does the job nicely for the Serial port : no messages are mixed.
I'm going to implement a short delay to make sure, as much as possible, that the wifi buffer is flushed....but this is ugly. Anyway better way? Check if the buffer is empty? how?
from telnetstream.
I don't know
from telnetstream.
Related Issues (20)
- newbie problem: can only connect in narrow window of time HOT 1
- at some point telnetprint does not send anymore HOT 2
- 'Overload' Serial.print and TelnetStream.print and others HOT 1
- TelnetStream.stop(); HOT 3
- Setting two telnet channels HOT 3
- Issue i cant fix. Maybe a WiFi library issue
- error with es8266 with basic example HOT 4
- Not compatible with esp8266/3.1.1 HOT 14
- Client not properly disconnected when not reading data HOT 1
- Overload/New Instantiate TelnetStream object HOT 2
- Arduino OPTA HOT 3
- OPTA HOT 1
- TelnetPrint.accept() for WiFiS3.h HOT 6
- TelnetStream or TelnetPrint does not work if combined with ArduinoOTA on UNO R4 WIFI HOT 1
- TelnetStream with RP2040 and W5100s not working HOT 7
- Pls add a client flush HOT 2
- NetApiHelpers flush override error HOT 6
- Error compiling on ESP32 with last version 1.3 of TelnetStream HOT 1
- Industrial Shields M-Duino 21+ Board Manager Problem 'class EthernetServer' has no member named 'flush' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telnetstream.