Home

Awesome

kcp-node

Build Status Coverage Status

Features / Main Dependencies

Environment

node 6+

Install

Usage

Protocol

KCP

+------+-----+-----+-----+----+----+-----+-----+
| CONV | CMD | FRG | WND | TS | SN | UNA | LEN |
+------+-----+-----+-----+----+----+-----+-----+
|  4   |  1  |  1  |  2  | 4  | 4  |  4  |  4  |
+------+-----+-----+-----+----+----+-----+-----+

KCP-GO Session Specification

+-----------------+---------------+---------------+-----+
| NONCE(optional) | CRC(optional) | FEC(optional) | KCP |
+-----------------+---------------+---------------+-----+
|     16          |      4        |       8       |     |
+-----------------+---------------+---------------+-----+

Performance and Benchmark

sudo sysctl net.inet.udp.recvspace=4194304

About Multiplexing

Unsigned Timestamp Manipulation

getCurrent

Relatives

LICENSE

MIT