Categorygithub.com/polevpn/kcp
modulepackage
1.0.4
Repository: https://github.com/polevpn/kcp.git
Documentation: pkg.go.dev

# README

在kcp 基础上,兼容dtls

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
NewConn establishes a session and talks KCP protocol over a packet connection.
NewKCP create a new kcp state machine 'conv' must be equal in the connection peers, or else data will be silently rejected.
NewTimedSched creates a parallel-scheduler with given parallelization.

# Constants

No description provided by the author
need to send IKCP_CMD_WASK.
need to send IKCP_CMD_WINS.
cmd: ack.
cmd: push data.
cmd: window probe (ask).
cmd: window size (tell).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
7 secs to probe window size.
up to 120 secs to probe window.
No description provided by the author
No description provided by the author
normal min rto.
no delay min rto.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultSnmp is the global KCP connection statistics collector.
SystemTimedSched is the library level timed-scheduler.

# Structs

KCP defines a single KCP connection.
No description provided by the author
Snmp defines network statistics indicator.
TimedSched represents the control struct for timed parallel scheduler.
No description provided by the author