Skip to content

micfan/boost-beast-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boost Beast Example Build Status

  • CMaked project the official example: advanced_server.cpp

  • And support Google Protocol Buffers

  • It can be a start-up project for your WebSocket application server

Dependencies

  • gcc (GCC) 8.2.1 20180831, or clang latest version

  • cmake version 3.12.3

  • protobuf 3.7

  • boost latest version

Build

git submodule update --init
mkdir build && cd build
cmake ..
make -j8

App sample output

./cmake-build-debug/app/beast-app
[2019-05-10 21:23:54.490] [info] serving http://0.0.0.0:9999
[2019-05-10 21:23:54.490] [info] serving ws://0.0.0.0:9999