How to send HTML page from a Web Server asynchronously in ESP-IDF?
is it possible to send the HTML page from a Web Server in async mode upon initial client request?
tried that and all i get in the browser is the raw HTML script
maybe I am using the wrong function :
tried that and all i get in the browser is the raw HTML script
maybe I am using the wrong function :
Solution
In the ESP-IDF's HTTP server component, the
httpd_start() function sets up both a listening TCP socket for handling HTTP traffic and a control UDP socket for internal control signals. However, for serving HTTP responses, including HTML pages, you typically interact with the HTTP request and response structure provided by the server rather than directly managing sockets @te0