Code Monkey home page Code Monkey logo

udpttl's Introduction

UDPTTL

UDP分包发送(丢包重发)


发送方:依托发送超时时间和内存大小控制发送
1.每次发送,超过5秒没有发送数据或者收到其它控制包就关闭。
2.默认一个进程内部,发送数据量超过100M就不能再发送,只能等待。


接收方:依托接收超时控制接收
1.每个数据包完整接收超过5秒,则不再接收,认为发送方异常。
2.接收方按照发送方端点(IP+Port)放置接收数据,超过10分钟没有数据接收,则移除此端点的存储结构。

udpttl's People

Contributors

jinyuttt avatar

Watchers

James Cloos 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.