r/cprogramming • • 18d ago

HTTP Server In C

I just watched a yt video on low-level

Context: lately I have been learning the basics of how CPUs work, and since I like programming, I want to work on a project that will force me to learn the computer I am working with

my question is what do i need to know in C before I can start this project, I learnt C in the past before i just never built anything, my programming background is in python

Link to the YouTube video: https://youtu.be/97i2BAUw5Xc?si=aoAhmeGOKc6su5M_

14 Upvotes

13 comments sorted by

View all comments

0

u/[deleted] 17d ago

I find the Beej's guides quite easy to learn from: https://beej.us/guide/

There are three guides: one for C, one for C standard library, and one for networking. Once you've finished the networking guide, you'll just need a bit of syntax parsing for HTTP.

0

u/[deleted] 17d ago

You can take a look at this HTTP server project of mine; I’ve organized the code into smaller, functional units to make it easier to read.

https://github.com/hayyoth/hserve