Skip to content

Latest commit

 

History

History
31 lines (31 loc) · 1.41 KB

File metadata and controls

31 lines (31 loc) · 1.41 KB

server

this pet-project is synchronised c++11 server and a small website for this server.

features

  1. logs
  2. exception handling
  3. syncronised connection
  4. get & head method support
  5. fast and efficient c++ server

installation

  1. download the zip file 1e. image
  2. extract its contents 2e. image
  3. open the folder and then start the server.sln 3e. image
  4. build the code 4e. image and you are done.

usage

server side

  1. open your desired windows command line application
  2. set path to the server executable cd path\server server gets ip, port, root dir, through command line arguments
    so you have to specifie them when starting the executable.
  3. type: server.exe <ip> <port> <rootdir> 3e. example server.exe 127.0.0.1 8080 path\to_rootdir\
    for a test you can use these args
    server.exe 127.0.0.1 8080 papka\

client side

  1. open any browser
  2. in search bar type http://<server_ip>:<server_port>