Coder Social home page Coder Social logo

crackercat / salt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tyzual/salt

0.0 0.0 0.0 955 KB

一个基于c++ asio的网络框架,计划支持tcp的服务端和客户端。

License: BSD 3-Clause "New" or "Revised" License

C++ 90.30% C 0.58% CMake 9.12%

salt's Introduction

简介

salt是一个基于c++ asio的网络框架,计划支持tcp的服务端和客户端。

开发计划

服务器端

  • 监听端口,接受新客户端
  • 基本的数据传输功能
  • 基于包头、包内容的拆包器(用于接收数据)

客户端

  • 连接服务器端
  • 发送,接收数据
  • 连接失败重试
  • 基于服务名称的轮询负载均衡
  • 基于包头、包内容的拆包器(用于接收数据)

其它

  • 可扩展的日志接口
  • 持续集成
  • cmake Config-file package
  • 文档
  • 使用string_view优化内存拷贝

编译

git clone https://github.com/Tyzual/salt.git
cd salt
mkdir build && cd build
cmake .. && make

salt's People

Contributors

tyzual avatar fallenwood 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.