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

能否支持KCP协议? #318

Open
liuhaox1 opened this issue Jan 19, 2022 · 5 comments
Open

能否支持KCP协议? #318

liuhaox1 opened this issue Jan 19, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request needs investigation pending development Requested PR owner to improve code and waiting for the result proposal Proposal for this repo waiting for response waiting for the response from commenter
Milestone

Comments

@liuhaox1
Copy link

目前已经有UDP和TCP协议了,但是如果作为游戏框架的话,如果是做类似王者荣耀之类的MOBA游戏或者FPS游戏的话,显然少了一种中间协议,目前我看goword框架是有kcp协议的,我想出了以后,会有更多人使用

@liuhaox1 liuhaox1 added enhancement New feature or request proposal Proposal for this repo labels Jan 19, 2022
@panjf2000
Copy link
Owner

暂时没有支持 KCP 的计划,goword 是什么?

@panjf2000 panjf2000 added the waiting for response waiting for the response from commenter label Jan 22, 2022
@shedongzhu

This comment was marked as off-topic.

@hakur
Copy link

hakur commented Aug 18, 2023

暂时没有支持 KCP 的计划,goword 是什么?

一年多过去了,老哥改变新意有计划整KCP没,这玩意游戏行业用的。在UDP上做的封装,ARQ,可靠的UDP。 goword目测一楼说的是goworld框架,https://github.com/xiaonanln/goworld

@panjf2000
Copy link
Owner

暂时没有支持 KCP 的计划,goword 是什么?

一年多过去了,老哥改变新意有计划整KCP没,这玩意游戏行业用的。在UDP上做的封装,ARQ,可靠的UDP。 goword目测一楼说的是goworld框架,https://github.com/xiaonanln/goworld

现在 KCP 的 Go 实现我看用的最多的是 kcp-go,我大致看了一下这个库是兼容 Go 的标准库 net 的, 只是还不清楚能不能兼容 gnet 里来,我今年找个时间去研究下,如果可以集成进来的话我就搞一下,否则的话如果 gnet 要支持 KCP 可能就得自己实现一个兼容的 KCP 库,那成本就不小了,不过也许能参考复用(严格遵循开源 license)一下 kcp-go 的部分源码,总之我要花点时间研究下。

@panjf2000 panjf2000 added working on it pending development Requested PR owner to improve code and waiting for the result needs investigation and removed working on it labels Aug 18, 2023
@panjf2000 panjf2000 added this to the v2.4 milestone Aug 18, 2023
@hakur
Copy link

hakur commented Aug 18, 2023

rpcx框架提到了一个kcp的问题:https://doc.rpcx.io/part1/transport.html#kcp

@panjf2000 panjf2000 modified the milestones: v2.4, Long term Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs investigation pending development Requested PR owner to improve code and waiting for the result proposal Proposal for this repo waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

4 participants