Design of dipperriver. Net Communication Protocol

Source: Internet
Author: User
Description name [length, unit: byte] packet structure header [10]: Baotou body [21 +?] : Packet header [10] protocol header [1]: 1 byte length, for example, 0x07 Protocol version [1]: 1 byte length, for example, 0x01body length [4]: 4-byte number, that is, the body length can be retained up to 4 GB [4]: Body [25 +?] Package Type [1]: 1 byte length, such as request package, response package, and other packages. 255 types of command types are supported. [1]: 1 byte length, for example, add, remove, get, and so on. 255 types of numbers are supported: [8]: sequential number, each time + 1 priority [1]: cache data failure priority, low-priority deletion validity period [4]: cache data validity period, in seconds, = 0 is the permanent valid key length [2]: 2 bytes length number, that is, the key length can be up to 65535value [4]: 4-byte numbers, that is, the value length can be up to 4 GB-25 reserved [4]: Key: key content value: value content

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.