hmdnnrmn / kcp-ts

TypeScript KCP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kcp-ts

TypeScript port of the KCP protocol modified to support Genshin Impact.

Genshin Impact KCP adds an unsigned 32-bit integer field between conv and cmd in the packet headers which makes it incompatible with the original KCP protocol. This implementation adds built-in support for that field.

Dependencies

API

API should be mostly self-explanatory if you are familiar with KCP already. The entire implementation is contained within a single file kcp.ts.

License

kcp-ts is licensed under the MIT License.

About

TypeScript KCP

License:MIT License


Languages

Language:Rust 42.4%Language:TypeScript 28.9%Language:JavaScript 28.6%Language:Shell 0.1%