Skip to content

abutalebco/web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#    ██╗    ██╗███████╗██████╗ ███████╗███████╗██████╗ ██╗   ██╗███████╗██████╗
#    ██║    ██║██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗██║   ██║██╔════╝██╔══██╗
#    ██║ █╗ ██║█████╗  ██████╔╝███████╗█████╗  ██████╔╝██║   ██║█████╗  ██████╔╝
#    ██║███╗██║██╔══╝  ██╔══██╗╚════██║██╔══╝  ██╔══██╗╚██╗ ██╔╝██╔══╝  ██╔══██╗
#    ╚███╔███╔╝███████╗██████╔╝███████║███████╗██║  ██║ ╚████╔╝ ███████╗██║  ██║
#     ╚══╝╚══╝ ╚══════╝╚═════╝ ╚══════╝╚══════╝╚═╝  ╚═╝  ╚═══╝  ╚══════╝╚═╝  ╚═╝
#

A simple web server written in C++. Following Eric's Tutorials on web server.

Dependencies

  • C++17 or later
  • POSIX-compliant operating system (e.g., Linux, macOS)
  • A C++ compiler (e.g., g++)
  • Netcat (for testing)

Build and Run

# Build
make
# Run
./bin/webserver

or

# Build (if needed) and Run
make run

Test

# Test with netcat
nc localhost 8080

About

C++ Simple Web Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors