Skip to content

cnetworking/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server

A simple HTTP server in C.

Building

  • To build everything: make
  • To build just the binaries: make sockets
  • To build just the client binary: make client
  • To build just the server binary: make server
  • To build the client: make -f build.mk EXEC=client
  • To build the server: make -f build.mk EXEC=server

Syntax

When running the server, make sure that the static files are in the correct place.

  • To run the server: ./build/server.out <port>
  • To run the client: ./build/client.out <ip> <port>

Releases

No releases published

Packages

No packages published