Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8150081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:58:46+00:00 2026-06-06T14:58:46+00:00

I am working on some homework here, but I have completely run out of

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:58:48+00:00Added an answer on June 6, 2026 at 2:58 pm

    You need to write a rudimentary HTTP client. The following basic actions are necessary:

    1. Parsing the URL and extracting the server part and the path part.
    2. Connecting to the server with a socket. The socket is your channel that you read from and write to.
    3. Writing an HTTP GET request with the path.
    4. Reading an HTTP response, which consists of some headers and a body.
    5. Parsing headers into meaningful data, such as status, body length, mime type and encoding.
    6. Decoding the “chunked” encoding if necessary.

    You should be able to start googling now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I am working on some homework and I have to complete a size
I'm working on some homework for my compiler class and I have the following
I'm working on some homework for an intro to C class, in which we
I'm working on some homework for an intro to C class, in which we
I was working on my advanced calculus homework today and we're doing some iteration
I`m working on some sql queries to get some data out of a table;
It might be for pedantic purposes but not homework. I have below question about
I have toyed with a number of ideas to do this, but so far
I am working on a homework assignment and I'm trying to figure out a
I've inherited some code that I need to debug. It isn't working at present.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.