trojan: support listen as trojan server

This commit is contained in:
nadoo committed 2020-10-10 19:04:33 +08:00
1 parent 6eda2b79c8
commit 175ef16a5c
17 files changed
+357 -115

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ const (
// SOCKS request commands as defined in RFC 1928 section 4
const (
CmdError byte = 0
CmdConnect byte = 1
CmdBind byte = 2
CmdUDPAssociate byte = 3