Skip to content

andremralves/tiny-c-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Websever

Running

To run the server on localhost:8000

Build server.c

make build

or just

make

Run the server on a custom addr and port

    ./server <your-ip-addr> <port>

TODO:

  • Adiconar a possibilidade de definir o endereço IP.
  • Refatorar o código usando mais constantes.
  • Adicionar cores para a saída do servidor.
  • Lidar com outro tipos de arquivo, ex. js e css
  • Adicionar resposta 404.
  • Corrigir eventuais bugs.
  • Adicionar novos arquivos html.

About

A tiny webserver example written in c for learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published