Updated EN_Home (markdown)

winlin 2017-02-15 19:44:51 +08:00
parent 2bf413a886
commit 408907f142

@ -2,16 +2,16 @@
KCP is a fast reliable transport protocol, which use FEC(about 10%-20% bandwidth cost) to decrease the latency(about 30%-40% off), and in the best situation the latency is 1/3 of TCP. As KCP only defined the application-level APIs, the under-layer transport of KCP is not limited, user can choose any protocol preferred; that is, user must integrate KCP to the specific system, to define or choose the under-layer protocol, for instance, UDP or private protocol over UDP, feed data to KCP by callback, and setup the time-clock of KCP. There is no syscalls in KCP, it's well defined library for almost all popular transport server or applications.
整个协议只有 ikcp.h, ikcp.c两个源文件可以方便的集成到用户自己的协议栈中。也许你实现了一个P2P或者某个基于 UDP的协议而缺乏一套完善的ARQ可靠协议实现那么简单的拷贝这两个文件到现有项目中稍微编写两行代码即可使用。
There are only two source files, the `ikcp.h` and `ikcp.c`, so it's very easy to use KCP by copying it to your project and adapter to your protocol stack. For example, whatever your application is a P2P system, or protocol over UDP(such as RTP, RTMFP, Webrtc, RTMP or HTTP-FLV, haha), a few lines(maybe < 10) of codes can integrate KCP to your system, to use the ARQ or FEC advantage.
# 内容概要
# Content
* [技术特性](KCP-Feature)
* [基本使用](KCP-Basic-Usage)
* [最佳实践](KCP-Best-Practice)
* [同现有 TCP服务器整合](Cooperate-With-Tcp-Server)
* [数据加密](Network-Encryption)
* [应用层流控](Flow-Control-for-Users)
* [性能评测](KCP-Benchmark)
* [Trait](KCP-Feature)
* [Basic Usage](KCP-Basic-Usage)
* [Bast Practice](KCP-Best-Practice)
* [Integrate with TCP Server](Cooperate-With-Tcp-Server)
* [Encryption](Network-Encryption)
* [Application-level Flow Control](Flow-Control-for-Users)
* [Benchmark](KCP-Benchmark)