Feature: Implement KCP protocol - based on UDP

This commit is contained in:
yuanyuanxiang
2025-07-20 04:42:29 +08:00
parent 07f6c92306
commit a2759a5d6a
25 changed files with 2248 additions and 29 deletions

View File

@@ -542,8 +542,11 @@ enum ProtoType {
PROTO_UDP = 1, // UDP
PROTO_HTTP = 2, // HTTP
PROTO_HTTPS = 3, // HTTPS
PROTO_KCP = 4, // KCP
};
#define KCP_SESSION_ID 666
enum RunningType {
RUNNING_RANDOM = 0, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
RUNNING_PARALLEL = 1, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>