Skip to content

yezhizi/NetChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetChat

Simple Server for a Chat App.

Quick Start

  1. Install the toolchain
apt install build-essential ninja-build cmake
  1. Intall dependencies
apt install libprotobuf-dev protobuf-compiler

Currently Protobuf is the only dependency requires manual installation. Others will be available when configuring the CMake.

  1. Configure CMake and Build
git clone https://github.com/yezhizi/NetChat.git
mkdir -p NetChat/build
cd NetChat/build
cmake -GNinja ..
cmake --build .

Configuring CMake will automatically download and install the dependencies. Please make sure you have a working Internet connection.

The binary will be located at NetChat/bin/NetDesign2-Server.

  1. Run the binary
cd ..
./bin/NetDesign2-Server

About

网络软件设计课设

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published