我们从2011年坚守至今,只想做存粹的技术论坛。  由于网站在外面,点击附件后要很长世间才弹出下载,请耐心等待,勿重复点击不要用Edge和IE浏览器下载,否则提示不安全下载不了

 找回密码
 立即注册
搜索
查看: 393|回复: 0

KCP1.3发布,快速传输协议

[复制链接]

该用户从未签到

142

主题

157

回帖

102

积分

二级逆天

积分
102

社区居民忠实会员社区劳模原创达人终身成就奖

QQ
发表于 2016-2-24 05:53:48 | 显示全部楼层 |阅读模式
KCP 1.3 发布,快速传输协议

KCP协议 1.3发布,进一步提升性能和稳定性,能够在网络高峰期丢包时保持比 libenet 快三倍的数据传送速率:

KCP has good performace in wifi and phone network(3G, 4G).

Extra using 20% ~ 50% network flow for speed improvement.

The kcp is the first choice for realtime pvp game.

The lag is less than 1 second when network lag happen. 3 times better than enet when lag happen.

The enet is a good choice if your game allow 2 second lag.

UDT is a bad idea. It always sink into badly situation of more than serval seconds lag. And the recovery is not expected.

enet has the problem of lack of doc. And it has lots of functions that you may intrest.

kcp's doc is chinese. Good thing is the function detail which is writen in code is english. And you can use asio_kcp which is a good wrap.

The kcp is a simple thing. You will write more code if you want more feature.

UDT has a perfect doc. UDT may has more bug than others as I feeling.

KCP 是一个快速可靠协议,能以比 TCP浪费10%-20%的带宽的代价,换取平均延迟降低 30%-40%,且最大延迟降低三倍的传输效果。纯算法实现,并不负责底层协议(如UDP) 的收发,需要使用者自己定义下层数据包的发送方式,以 callback的方式提供给 KCP。 连时钟都需要外部传递进来,内部不会有任何一次系统调用。

整个协议只有 ikcp.h, ikcp.c两个源文件,可以方便的集成到用户自己的协议栈中。 也许你实现了一个P2P,或者某个基于 UDP的协议,而缺乏一套完善的ARQ可靠协议实现, 那么简单的拷贝这两个文件到现有项目中,稍微编写两行代码,即可使用。

更多关于: KCP 的详细信息

相关资讯
SonarLint for Eclipse 1.3 发布
MPlayer 1.3 发布,现已支持 FFmpeg 3.0
SonarLint for IntelliJ 1.3 发布
SonarQube Perforce 1.3 发布
ZUI 1.3 发布,性感无比的 HTML5 前端 UI 框架
PyRedisAdmin v1.3 发布,Redis 强大在线管理工具
MariaDB Connector/J 1.3 发布
AlphaDict v1.3 发布,辞典软件
Spring XD 1.3 GA / Flo for 1.0 GA 发布
SonarQube Clirr 1.3 发布
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

论坛开启做任务可以
额外奖励金币快速赚
积分升级了


Copyright ©2011-2024 NTpcb.com All Right Reserved.  Powered by Discuz! (NTpcb)

本站信息均由会员发表,不代表NTpcb立场,如侵犯了您的权利请发帖投诉

平平安安
TOP
快速回复 返回顶部 返回列表