Skip to content

inetrg/vslab-caf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSLAB CAF

Build

Build the project as follows. This will build CAF as part of this project.

mkdir build
cd build
cmake ..
make

Choose your own CAF build

You can alternatively point CMake to an existing CAF build by passing the path to the build via CAF_ROOT. Replace the cmake .. call above with the following:

cmake -D CAF_ROOT=<path-to-caf>/build ..

Run

You can then run the binary (located inside the build directory):

./vslab <args>

The default project offers these CLI options:

vslab-caf> ./build/vslab --help
global options:
  (-h|-?|--help)                  : print help text to STDERR and exit
  --long-help                     : print long help text to STDERR and exit
  --dump-config                   : print configuration to STDERR and exit
  --config-file=<std::string>     : sets a path to a configuration file
  (-H|--host) <std::string>       : server host (ignored in server mode)
  (-p|--port) <uint16_t>          : port
  (-w|--num-workers) <dictionary> : number of workers (in worker mode)
  (-m|--mode) <std::string>       : one of 'server', 'worker' or 'client'

About

Scaffold for practical exercise with CAF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •