完善客户端与服务端注册,端口分配和协议交互逻辑

This commit is contained in:
2025-05-14 17:46:34 +08:00
parent f86cf47e86
commit 75569d2d6d
14 changed files with 313 additions and 277 deletions

View File

@@ -57,9 +57,9 @@ ERR: 除非有必要,否则全部 error 都使用 `errors.Wrap()` 包裹(如
客户端:
| version(1) | name_len(1) | name_buf(n) |
|------------|-------------|-------------|
| 版本号 | 名称长度 | 名称 |
| id(4) |
|--------|
| 客户端 ID |
服务端: