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

能否增加TCP长连接、多路复用? #2

Closed
mackyzhan opened this issue Mar 28, 2016 · 1 comment
Closed

能否增加TCP长连接、多路复用? #2

mackyzhan opened this issue Mar 28, 2016 · 1 comment

Comments

@mackyzhan
Copy link

kcp使用的是UDP协议,我看kcptun项目作者讲,大量短连接不太适合KCP,有没有计划增加基于TCP连接的连接多路复用,可参考这个项目:
https://github.com/stormgbs/gopkg

@dearplain
Copy link
Owner

有计划多路复用,因为响应会更快一些,流量也好控制。
要保持tcp连接,一般30s内发心跳包就好了。

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

No branches or pull requests

2 participants