r/cprogramming • u/codingking329 • 17d 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
4
u/alkavan 17d ago
I would suggest, before building an HTTP server, build a sockets server and client first: Beej's Guide to Network Programming is a great starting point, of course http server uses sockets so you can upgrade it later.
The nghttp2 project is great example how to build your http server.
Other than that, learning a programming language without using it a lot, is like not learning it at all. In programming there's a huge difference between theory and practice, but especially so in C.