Creating a dynamic webpage that can automatically update information is my goal. I've managed to establish a socket and send HTML and Javascript files from my c/c++ application to the browser.
However, now I'm stuck on how to proceed. How do I package my data into XMLHttpRequest objects? Is this the correct approach or should I be exploring other options? The challenge lies in the fact that my c/c++ application will be running on an embedded system that does not have robust support for php or similar technologies.
I'm struggling to grasp how XMLHttpRequest functions, as most of the resources available online only provide client-side examples without much guidance on how a server should manage it.