GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shxntanu/http-server-c: 🖥️ HTTP Sever implementation in C using Sockets!

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
README.md
README.md
 
 
start.sh
start.sh
 
 

Repository files navigation

HTTP Server in C

HTTP is the protocol that powers the web. The challenge was to build a HTTP server that's capable of handling simple GET/POST requests, serving files and handling multiple concurrent connections.

Features

  • Parses command-line arguments for the directory to serve files from.
  • Handles GET requests for files in the specified directory.
  • Handles POST requests to create new files in the specified directory.
  • Responds with the appropriate HTTP status code (200 OK, 404 Not Found, etc.).
  • Can echo back the User-Agent header from the request.

Usage

To get started, first you will need to make the script start.sh executable. To do this, run the following command:

chmod +x start.sh

Then, you can start the server by running the following command:

./start.sh

About

🖥️ HTTP Sever implementation in C using Sockets!

Topics

chttp-server

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.