Skip to content

My IT215 Systems Software project code. A simple HTTP webserver.

Notifications You must be signed in to change notification settings

ayudhDas/simpleHTTPserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleHTTPserver

My IT215 Systems Software project code. A simple HTTP webserver.

#Description#

This is a small and simple network application to work as an HTTP server. A very small subset of HTTP protocol is implemented. The major focus is on multithreading (using pthreads), socket programming, and file handling.

Building and using

To build the server, just invoke gcc with the pthread library flag.

gcc -lpthread http_server.c

and then start the server by calling

./a.out

The server has started. Fire up your browser and point it towards http://127.0.0.1:8181 and see it in action.

#important note# Right now all the logs are generated on the fly on the console only. The server is stopped by the kill signal ie ctrl-c

About

My IT215 Systems Software project code. A simple HTTP webserver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages