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,6 +23,8 @@ const (
Request MessageType = 6 Request MessageType = 6
Piece MessageType = 7 Piece MessageType = 7
Cancel MessageType = 8 Cancel MessageType = 8
// BEP 5
Port MessageType = 9 Port MessageType = 9
// BEP 6 - Fast extension // BEP 6 - Fast extension