Improve: Add random protocol option for building client

This commit is contained in:
yuanyuanxiang
2025-07-20 18:49:49 +08:00
parent a2759a5d6a
commit 7fc81776dd
6 changed files with 18 additions and 7 deletions

View File

@@ -541,8 +541,9 @@ enum ProtoType {
PROTO_TCP = 0, // TCP
PROTO_UDP = 1, // UDP
PROTO_HTTP = 2, // HTTP
PROTO_HTTPS = 3, // HTTPS
PROTO_RANDOM = 3, // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PROTO_KCP = 4, // KCP
PROTO_HTTPS = 5, // HTTPS
};
#define KCP_SESSION_ID 666