Skip to content

Property tree represented in Flatbuffers, sending and receiving serialized bytes via TCP socket.

Notifications You must be signed in to change notification settings

jpchen128/cpp-flatbuffers-asio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Use

Dependencies

  • Tools: vcpkg, cmake, ninja
  • Libraries to install via vcpkg: flatbuffers, boost-asio
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install flatbuffers boost-asio

Build

mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake .. -G Ninja
ninja

Run

Start receiver at a port first:

./receiver 12345

Use sender to send payload to the port:

./sender 127.0.0.1 12345

About

Property tree represented in Flatbuffers, sending and receiving serialized bytes via TCP socket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published