Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server

This is a small educational HTTP server written in pure C.

The included RunServer.exe was compiled for Windows x86-64 (AMD64). It should work on AMD Ryzen 5 5500 and other modern x86-64 processors from AMD and Intel. Recompile the project if you use another operating system or architecture.

Compilation

Open a terminal in the project root directory.

Windows (MinGW):

mingw32-make -f MAKEFILE
gcc main.c object-files/extclib.o -o RunServer.exe -lws2_32

Linux:

make -f MAKEFILE
gcc main.c object-files/extclib.o -o RunServer

Testing

Run the included RunServer.exe or the executable you compiled yourself. Then open this address in your browser:

http://127.0.0.1/

The server uses port 80. On Linux, running a server on this port may require administrator privileges.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages