Skip to content

A single header file version of kcp protocol.With full comments and extensions (RDC control support, packet loss rate statistics)

License

Notifications You must be signed in to change notification settings

Mainvooid/kcp-hpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

kcp-hpp

A single header file version of kcp protocol.

  • complete notes.
  • RDC reliability data control support.
  • loss rate and other data statistics.

define macro KCP_EXTENTION to open extention.

You can use custom namespace inclusion to make it easy to call all interface functions.

namespace kcp{
#include<ikcp.hpp>
}
kcp::ikcp_create();

Used as a project submodule:

git submodule add https://github.com/Mainvooid/kcp-hpp.git /3rdparty
git submodule update --init --recursive

KCP Features

  • Average RTT reduce 30% - 40% vs traditional ARQ like tcp.
  • Maximum RTT reduce three times vs tcp.
  • Lightweight, distributed as a single source file.

About

A single header file version of kcp protocol.With full comments and extensions (RDC control support, packet loss rate statistics)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages