Skip to content

Contains the implementation of a simple http web server which uses socket programming to respond to requests and is multi threaded

Notifications You must be signed in to change notification settings

ashishtrivedi16/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Web-Server

This is a basic http web server which implements the http protocol fully coded in C.

It responds to request made by client by creating a seperate thread using the pthread library in C.

Uses socket programming to connect two nodes in a network so that they can communicated with each other.

To start the server just compile it on a linux terminal using the following command:

gcc -o server server.c -lpthread
./server

Start the client in a similar way but don't forget to pass the port address:

gcc -o client client.c
./client localhost 9001

About

Contains the implementation of a simple http web server which uses socket programming to respond to requests and is multi threaded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published