Zilize / MoeServer

A simple multithread processing web server with GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MoeServer

A simple multithread processing web server with GUI based on Linux.

V1.0 Command Line Mode

There is only one file in the command line mode version. You should change the config first.

#define LISTEN_IP "0.0.0.0"
#define LISTEN_PORT 9000
#define ROOT_PATH "/home/wwwroot/workspace"

Then, you can use following command to get the executable file.

g++ moeserver.cpp -o moeserver -lpthread -std=c++11

Run the code:

./moeserver

Enter s to start, enter q to quit, enter e to exit. Just like this:

V2.0 GUI

You can add the files to you own Qt project and build it. Change your config and click the start button.

About

A simple multithread processing web server with GUI.


Languages

Language:C++ 100.0%