Files
C-Web-Server/README.md
T
2012-06-26 15:03:51 +01:00

24 lines
738 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
A Simple Webserver Written in C
===============================
This is a simple webserver written in the C programming language.
It uses a pool of 10 connections to serve multiple requests concurrently and it keeps track of how much data it has output, printing it to the standard output stream.
Compiling and Using the System
==============================
On a Linux system system simply use the makefile to compile the server.
On a Mac use this command to compile the server:
gcc cs241server.c o cs241server
To run the server type ./server into a terminal that is in the directory where the executable file is located.
By default the server runs on port 2001, so to try it out navigate to
localhost:2001 in a webbrowser