Coder Social home page Coder Social logo

tcppack的maxpacksize问题 about hp-socket HOT 1 CLOSED

ldcsaa avatar ldcsaa commented on July 24, 2024
tcppack的maxpacksize问题

from hp-socket.

Comments (1)

ldcsaa avatar ldcsaa commented on July 24, 2024

文档里有详细说明

XXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYY

前 10 位 X 为包头标识位, 用于数据包校验。有效包头标识取值范围 0 ~ 1023 ( 0x3FF),
当包头标识等于 0 时不校验包头。 后 22 位 Y 为长度位,记录包体长度。 有效数据包最大
长度不能超过 4194303( 0x3FFFFF) 字节,默认长度限制为: 262144( 0x40000)字节。 应
用程序可以通过 SetPackHeaderFlag() 和 SetMaxPackSize() 分别设置包头标识与最大包长限
制。

from hp-socket.

Related Issues (20)

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.