odilonafonso
odilonafonso
Hi @igrr , please, what is the major differences between TCP Server (WiFiServer) and HTTP Server (ESP8266WebServer) ? Can I get a Webserver working with a TCP Server and not...
OK @dogmaphobic - you right ! Thanks :) Actually my question is the practical aspect - how and when to use one or the other. I like to have a...
Examples sometimes confuse beginners; look at this sample: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266mDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino The comments at the beginning say: ``` /* ESP8266 mDNS responder sample This is an example of an **HTTP server** that...
Thanks Ivan ! Now I'll test this new method
Hi @WereCatf .. thanks for help. I tried git pull. But.... ``` git pull https://github.com/esp8266/Arduino.git esp8266 fatal: Not a git repository (or any of the parent directories): .git ``` For...
The problem occurs when I use a port other than 80. Using port 80 the problem does not occur. Can anyone tell me why?
Hi @igrr Thanks for help. The code is the sample WiFiWebServer from the ESP8266 repository (this). Code above with the modifications made marked with **"//change Odi"** ``` /* * This...
This sketch works a little better: ``` /* * This sketch demonstrates how to set up a simple HTTP-like server. * **** na verdade é um TCP-Server !!!!! * The...
Okay @WereCatf, thanks for your help again. Why the browser is asking favicon.ico? If I answer the first request with 404, I will solve the remaining requests, but the first...
OK @igrr , thanks for your help too. I will follow the recommendation of @WereCatf , as well as yours. But I imagined it as a TCP (not HTTP) server...