Skip to content

ry-cha/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-server

A simple HTTP server and client built in C using sockets

Overview

This project implements a minimal HTTP server that can serve static HTML files to a client over TCP.
It includes both a server (listens for requests and serves files) and a client (which sends an HTTP GET request and prints the response).

Prerequisites

  • C compiler (e.g., gcc or clang)
  • Make

Install & Run

git clone https://github.com/chanr335/http-server.git
cd http-server
make

Start the server

./server.c

Start the client to request and receive html

./client <hostname>

About

networks etude

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published