Add TUIC protocol
This commit is contained in:
15
transport/tuic/protocol.go
Normal file
15
transport/tuic/protocol.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package tuic
|
||||
|
||||
const (
|
||||
Version = 5
|
||||
)
|
||||
|
||||
const (
|
||||
CommandAuthenticate = iota
|
||||
CommandConnect
|
||||
CommandPacket
|
||||
CommandDissociate
|
||||
CommandHeartbeat
|
||||
)
|
||||
|
||||
const AuthenticateLen = 2 + 16 + 32
|
||||
Reference in New Issue
Block a user