Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.11 KB

File metadata and controls

64 lines (42 loc) · 1.11 KB

Installation

  1. cmake: https://cmake.org/download/
  2. .NET: https://dotnet.microsoft.com/en-us/download

If on Windows:

  1. Visual Studio Community: https://visualstudio.microsoft.com/vs/community/

Build

Run the following commands from the project root:

C#

cd csharp
dotnet build

C++

If on Linux or macOS:

cd cpp/lib/cryptopp
make
cd cpp
mkdir build && cd build
cmake ..
make

If on Windows:

Open the project in Visual Studio. If it complains about an outdated toolset, change to the newer toolset in properties. Build project lib and build project DLL. Copy DLL to the folder where cpp.exe is located, most likely cpp\build\Debug.

cd cpp\build
cmake --build .

Run

C++

Start the server by running the executable in the cpp\build directory (or wherever the executable resides).

.\cpp.exe

C#

Start the client by running the following command in the csharp directory.

dotnet run

After the connection establishes, send encrypted messages to and from the server via the prompts.