2
java | 自定义协议
source link: https://benpaodewoniu.github.io/2023/01/27/java217/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
java | 自定义协议 | 犀牛的博客
姑苏城外一茅屋,万树梅花月满天
- 魔数
- 用来第一时间判别是否为无效包
- 版本号
- 支持协议升级
- 序列化算法
- 消息正文采用哪种序列化和反序列化
- 指令类型
- 登录、注册、单聊、群聊。。。
- 请求序号
- 双工通信,提供异步能力
请我喝杯咖啡吧~
Powered By Valine
v1.5.1
v1.5.1
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK