I'd like to have a lightweight web server that runs on Windows PC. This server software, an EXE, should meet these requirement:
1. Can only run at localhost using [login to view URL]
2. Able to specify the port number using a local .config file or .ini file. E.g I'd like to be able to run it at [login to view URL]
3. I like to call this server with a function 'getmac' like this:
[login to view URL]
This should return:
<MAC>[the computer's mac address]</MAC>
You can consider using any opensource web server as a base. E.g. mongoose server:
[login to view URL]
The code is here:
[login to view URL]
The deliverable should be an EXE for running in Windows and the source code of the EXE.