This is a starter repo for the Capstone project in the Udacity C++ Nanodegree Program.
Working on a mockserver that publishes data based on the requirement of the client.
- Client Can Receive Proper Data when it sends One.
- Client recieves unauthorized string.
- Server Can Send Data and Error.
- Internal logger implemented.
- Multiple Client
- Add More Functionalities specially reading server data from a file or database.
- Multithreading Client Environment when Accepting Connections.
- Functions and Control Structures
- Writes to a file
- Uses OOP technique
- Appropriate Access Specifiers
- Uses Member Initialization List in MockServer.cpp
- Abstract Class
- Templatized Function in Logger
- Destructors.
- References in Functions.
- Mutex is used in Logger.
- Multithreading for Clients
- cmake >= 3.7
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - install Xcode command line tools
- Windows: recommend using MinGW
- Clone this repo.
- Update submodules git submodule update --init
- Make a build directory in the top level directory:
mkdir build && cd build
- Compile:
cmake .. && make
- Run it:
./Server
. to start the server and then start Client by.\Client