websocketpp c++客户端
https://blog.csdn.net/byxdaz/article/details/84638341
VS2015下使用websocketpp和asio构建websock服务器
https://blog.csdn.net/deyafoo/article/details/81508392
websocket在线测试根据
https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protobuf-all-3.11.4.tar.gz
On Ubuntu/Debian, you can install them with:
$ sudo apt-get install autoconf automake libtool curl make g++ unzip
You can also get the source by "git clone" our git repository. Make sure you have also cloned the submodules and generated the configure script (skip this if you are using a release .tar.gz or .zip package):
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
To build and install the C++ Protocol Buffer runtime and the Protocol Buffer compiler (protoc) execute the following:
./configure
make
make check
sudo make install
sudo ldconfig # refresh shared library cache.
字符串格式化
#include <sstream> std::ostringstream os; os << "hello " << n; endpoint.send( os.str() );