What are prerequisite knowledges to write a web server?

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Apache

    Mirror of Apache HTTP Server. Issues: http://issues.apache.org

  • tiny-web-server

    a tiny web server in C, for daily use.

  • Also I recommend https://github.com/shenfeng/tiny-web-server, as it's much simpler than httpd.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • libuv

    Cross-platform asynchronous I/O

  • Read RFC2616, if you don't want to do too much low level and have some fun in C, you can use https://github.com/libuv/libuv which drives Node.js and some other stuff. It is portable, uses/provides fancy nonblocking stuff - and you can find some examples on GitHub for basic webservers, there is a user guide at http://docs.libuv.org/en/v1.x/guide.html for more stuff (filesystem access, ...)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts