wentaoshang / wsproxy-cpp

WebSocket-NDNx proxy implemented in pure C++
1 stars 2 forks source link

wsproxy-cpp

WebSocket-NDNx proxy implemented in pure C++

Dependencies

This program requires Boost ASIO library and C++11 features. Older platforms and compilers may not be able to configure and/or compile.

The code is tested on Mac OS X Mavericks with default clang++ compiler and Boost library 1.55.0 and compiled on Ubuntu 13.10 with g++ 4.8.1 and Boost 1.53.0.

Compile

After cloning the Github repo, go to root folder and run the following two commands:

git submodule init
git submodule update

Then run the following two commands to compile:

./waf configure
./waf

If you need to specify the path of the boost library, you can use "--boost-libs" and "--boost-includes" options in waf. Example:

./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu/

The compiled binary is in ./build folder:

./build/ws_proxy

Options