Skip to content

tannermcrae/Http-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Http-Server

This is a simple HTTP Server written in C++ for a linux machine

To use it in one window type:

  • Open up a terminal window.
  • Go to the root directory (Http-Server) and type make.
  • Then move to the bin folder and type the following:
    • myhttpd [-f|-t|-p] []
      -f to run with processes
      -t to run with threads
      -p to run with thread pools

    • Where 1024 < port < 65536.

To test in another window type:

  • telnet
  • Then GET to have the doc returned
  • You can also type <machine_name>:/ in a browser to have the file show up in the browser

About

Simple HTTP Server written in C++ for a linux machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published