PORT message belongs to BEP 5

This commit is contained in:
Matt Joiner 2021-01-27 17:06:31 +11:00
parent fbc9a77cd8
commit f409daa93f
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ const (
Request MessageType = 6 Request MessageType = 6
Piece MessageType = 7 Piece MessageType = 7
Cancel MessageType = 8 Cancel MessageType = 8
Port MessageType = 9
// BEP 5
Port MessageType = 9
// BEP 6 - Fast extension // BEP 6 - Fast extension
Suggest MessageType = 0x0d // 13 Suggest MessageType = 0x0d // 13