Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ExProto 协议网关时,tcp协议的粘包、粘包时如何处理的 #13987

Open
ccwxl opened this issue Oct 14, 2024 · 1 comment
Open
Labels

Comments

@ccwxl
Copy link

ccwxl commented Oct 14, 2024

What would you like to be added or enhanced?

  • 使用ExProto 协议网关时,tcp协议的粘包、粘包时如何处理的

Why is this needed?

  • 自定义tcp通信协议
@ccwxl ccwxl added the Feature label Oct 14, 2024
@zmstone
Copy link
Member

zmstone commented Oct 19, 2024

暂时没有好的办法。
ExProto在后续版本中会引入一个 framing 协议。比如用首个 4 字节表示报文长度,后面跟长度表达的字节数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants