esp8266-01 server-clients questions
Posted: Sat Sep 11, 2021 8:16 am
Hello,i have an esp8266 with my arduino connected and have create a webserver.Esp8266 is in AP and STA mode..Its all fine but i have a question.
1.Why when i type in the web browser the ip ,a client is connected without hit the enter?and when i hit the enter an other client connected?I thnik that this isn't normal.Is it?
2.Also i noticed that many times clients connected and disconnected during the proccess but i use only my laptop .Maybe esp8266 in sta mode is the one more client ?but i noticed 3 clients in same time i think.How i can prevent these extra clients connections?At Incognito window is just 1 client connected as expected.So is the browsers fault?
3.My client connected to ID 0 for example but send me an answer with id 1.Can anyone explain me why?
3.When client connected:+IPD,0,466:GET / HTTP/1.
When client send me a message(username and password of login-webpage):+IPD,1,646:POST /login HTTP/1.1. My main webpage force the redirect to a new id when log-in?cant use the same id?
Thank you so much,sorry for my english and for so many questions
1.Why when i type in the web browser the ip ,a client is connected without hit the enter?and when i hit the enter an other client connected?I thnik that this isn't normal.Is it?
2.Also i noticed that many times clients connected and disconnected during the proccess but i use only my laptop .Maybe esp8266 in sta mode is the one more client ?but i noticed 3 clients in same time i think.How i can prevent these extra clients connections?At Incognito window is just 1 client connected as expected.So is the browsers fault?
3.My client connected to ID 0 for example but send me an answer with id 1.Can anyone explain me why?
3.When client connected:+IPD,0,466:GET / HTTP/1.
When client send me a message(username and password of login-webpage):+IPD,1,646:POST /login HTTP/1.1. My main webpage force the redirect to a new id when log-in?cant use the same id?
Thank you so much,sorry for my english and for so many questions