Sketching and implementing a binary protocol: Concepts and Concerns

Original link: https://hsiaofongw.notion.site/Sketching-and-implementing-a-binary-protocol-Concepts-and-Concerns-d15cb4f3a65e4318856898ce95abc022

default.png

This article introduces how to use the binary protocol as a communication protocol between applications, and introduces how to implement framing code at the application layer, making it easier for upper-layer code to receive messages, send requests, and process requests. At the same time, it also introduces the easy-to-use API provided by Apple’s Network Framework, allowing developers to complete the logic separation of framing and sending/recving better and faster.

This article is transferred from: https://hsiaofongw.notion.site/Sketching-and-implementing-a-binary-protocol-Concepts-and-Concerns-d15cb4f3a65e4318856898ce95abc022
This site is only for collection, and the copyright belongs to the original author.