I am working on some homework here, but I have completely run out of ideas. I need to make a simple web browser in C, which must include simple HTML reading. This would be easy normally, but the challenge is this: to challenge myself, I want to use as few libraries as possible. I can use any libraries if I absolutely have to.
I need to fill a char* with the contents of a URL in C, but I cannot figure out how I should do it. Any ideas for this?
Please note that this is not a duplicate of similar questions, as I am asking about C, not it’s libraries.
You need to write a rudimentary HTTP client. The following basic actions are necessary:
You should be able to start googling now.