Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

minitech/Xeric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xeric

Xeric is a simple server written in C. It only works on Linux. This is an experiment in C by a person who doesn't know C, so don't, er, actually use it, or anything like that.

Although, so far, it seems to work and it makes me wonder what exactly is inside Apache.

Running

Xeric has two command-line options at the moment.

  • --port xx. It specifies the port (not obvious at all). Defaults to 80.
  • --address xxx.xxx.xxx.xxx. It specifies the address to listen at. Defaults to 0.0.0.0.

Here's how you should run it for debugging (feel free to specify another port, 'course):

make debug && ./xeric --port 8080 --address 127.0.0.1

About

A small C web server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages