thisisommore / HttpServer

Simple http server for learning purpose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP server made from scratch using C++

This server is for learning about sockets and TCP and HTTP implementations

Currently it serves static html content

Steps to run this code

Make sure you are in Linux system

  1. Compile app

    make
  2. Run app

    ./httpserver $PORT

    Here PORT can be any port where you want to expose this on your localhost

  3. Visit at localhost:PORT

About

Simple http server for learning purpose


Languages

Language:C++ 80.4%Language:C 18.6%Language:Makefile 1.0%