/DawnNet

Simple networking library using boost.asio

Primary LanguageC++

DawnNet

Simple networking engine using boost.asio

Install dependencies

boost asio

wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz
tar -xvf boost_1_82_0.tar.gz
cd boost_1_82_0
sudo ./bootstrap.sh
sudo ./b2 install

protobuf

install bazel for build protobuf

install protobuf

  • Following next link -> Protobuf
  • current repository using protobuf-v21.12

Usage

  • The phrases example/Server and example/Client are actually used example codes. To use this project, two basic elements are required:
  1. PacketHandler Creation

    • You need to create a class that handles packets designed in protobuf using the tools/PacketGenerator.
  2. Creating a Class Inheriting from PacketSession

    • After creating a Session class for network communication, you must override internal functions.

Current Features

Right now, DawnNet is very bare-bones. Its most remarkable features are:

Feature Description Status
Network communication Basic socket network communication through boost.asio Done ✔️
Thread Managing multi-thread management Done ✔️
Memory Managing Memory management using memory pool Done ✔️

Planned Features

Feature Description Status
Position interpolation Ability to adjust the position of objects in the server environment TODO 📋