6 Protocol = "\x13BitTorrent protocol"
13 // Hopefully uncaught panics format using this so we don't just see a pair of
14 // unhelpful uintptrs.
15 func (me MessageType) String() string {
16 return strconv.FormatInt(int64(me), 10)
20 Choke MessageType = iota
36 AllowedFast = 0x11 // 17
40 HandshakeExtendedID = 0
42 RequestMetadataExtensionMsgType = 0
43 DataMetadataExtensionMsgType = 1
44 RejectMetadataExtensionMsgType = 2