A simple static web server made using socket programming in C.
In order to build the server, GNC GCC must be installed in your system.
GNU Make can also be installed if you want to use the make command.
To compile the programme using GCC, run:
gcc -Wall -Wextra -g -o server server.cTo run the server:
./serverUsing make, we can build and run the server with ease.
To build the server:
make buildTo build and run the server:
make runTo terminate the server, you can hit Ctrl + C within the terminal.
You can create and place static web pages in the htdocs folder which will be served when the server is running.
Feel free to contribute to this project and treat it as your own.
Nipun Chamikara Weerasiri - nipunchamikara