cloudwu / sproto

Yet another protocol library like google protocol buffers , but simple and fast.
MIT License
942 stars 253 forks source link

.package 的session字段是必须的吗? #26

Closed ghost closed 9 years ago

ghost commented 9 years ago
.package {
        type 0 : integer
        session 1 : integer
    }
cloudwu commented 9 years ago

定义是必须的, 传输的时候可以不填(也不会被编码)