基于pybind11库对CTP进行的Python绑定
pybind11boostcmake
mkdir build
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
cmake --build . -j 4建议使用
clang编译生成,提示的错误更准确。
- 查看当前与ctp_front是否有网络数据
sudo tcpdump -i eth_name host ip_for_ctp_front -vv
- 使用iptables中断与ctp_front的连接,测试断网处理