I have a daemon built in C that listens for incoming requests from a client. An example request might be: "www.facebook.com
The requirements are:
The output of the program will be the HTTP server response minus the HTTP header. I.e., only the HTML content
associated with the URL is emitted on standard output.
How do I get HTML content from a website in C, and store it in a string?