Giter Club home page Giter Club logo

tcp-cap's Introduction

编译

目前无法在任何非mac环境编译,即使是在mac也需要修改 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 成 pkg-config --cflags --libs PcapPlusPlus vcpkg 没有整合好 PcapPlusPlus

功能

  • client 放在数据库所在的机器上,用于从数据库中读取数据,然后发送到server
  • server 放在集中的服务器上,用于接收client发送过来的数据,然后写入到后端[数据库,或其他]

使用

  • client 使用
#方法1
$ cp config.example.toml <client path>/config.toml
# modify config.toml
$ cd <client path> && ./client
#方法2
$ cd <client path> && ./client <config.json path>
  • server 使用
#方法1
$ cp server_config.example.toml <server path>/server_config.toml
# modify server_config.toml
$ cd <server path> && ./server
#方法2
$ cd <server path> && ./server <server_config.toml path>
  • 简单实用
make debug #第一次会需要很长时间,而且有pcapplusplus的bug,需要自行修改一下 
make config
cd Debug
# modify config.toml
# modify server_config.toml
./client
./server

tcp-cap's People

Contributors

phpgoc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.