Comments (2)
Hi,
this is not a bug but a problem. If there is no traffic on a telnet connection the server has problems to detect a disconnected client. It will happen but it needs a very long time. To get rid of this problem I implemented a ping function which sends periodically a null character to the telnet client if there is just no traffic. So a disconnected client will be detected very fast. This should solve your problem.
I did also a lot of other extensions/improvements (see README.md), so the external RingBuffer component is no longer neccessary. But you have to add
TelnetSpy SerialAndTelnet;
to the beginnig of your script, because it is no longer globally defined. So its now also possible to create the TelnetSpy object only if it is neccessary.
from telnetspy.
Hi,
Thank you for your reply and time to look into the situation and I'm sorry for referring to it as a Bug.
I also will be checking out your latest version and the new features, I particularly like the fact that you have eliminated some of the external dependencies and the need for a global definition.
from telnetspy.
Related Issues (15)
- It is possible to use it without the ring buffer? HOT 4
- Does not compile with ESP8266 version 2.6.3 HOT 2
- TelnetSpy.cpp:17:21: fatal error: RingBuf.h: No such file or directory HOT 3
- Example code doesn't compile on 1.8.13 HOT 2
- no matching function for call to 'TelnetSpy::begin()' HOT 1
- Verbose output from serial is not transferred via Telnet HOT 2
- TelnetSpy.cpp: In member function 'void HOT 1
- Linker error when building for ESP32-C3
- Error compiling on Arduino Nano ESP32 - cannot convert USBCDC* to HardwareSerial* HOT 1
- newlines not rendered on Windows telnet HOT 3
- disconnect telnet client feature? HOT 3
- Issues when using platformIO HOT 3
- do I have to keep calling handle() HOT 7
- Does not work in AP only mode (ESP32) HOT 1
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 telnetspy.