Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By anakod
#14454 1. Why two server instances
2. When you have error I need a serial log :)
3. How many bytes you send to it?
4. Check this without printing received content (only size and etc), may be ploblem related to that

I think 4 case can help if you doesn't have null-terminated char at end or string is too big.
User avatar
By hreintke
#14459 anakod,
I used two instances, one on port 23, one on port 8023 : Easier for testing using putty, browser, sockettest program.
Resets also happen with and without data sent, just open and close connection several times also causes reset.
I added some additional debug statements in the code, should be self explanatory.
See attached a log file, with some additional lines from me on what I did.

Question : can it be that not all debug output is send to serial (still in buffer but not sent across the wire) when a reset happens ?

Herman
You do not have the required permissions to view the files attached to this post.
User avatar
By ozayturay
#14473 :idea: $(shell taskkill /f /im termite.exe) should be removed from the Makefile's because Termite already has an option Close port when inactive which solves the port already in use problem.


Also HttpClient.responseSting() should be HttpClient.responseString()

And even though Serial.systemDebugOutput(false) is used the following lines came from serial by debugf() function calls. Any way to prevent this behaviour?

r,+TCP connection
+TCP connection
fs.start: size:208 Kb, offset:40248000

m