package p2p

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AnnouncePieceMessage

p2p.proto:51

Announces that a piece is available to other peers.

Used in: Message

message BitfieldMessage

p2p.proto:13

Binary set of all pieces that peer has downloaded so far. Also serves as a handshaking message, which each peer sends once at the beginning of the connection to declare what their peer id is and what info hash they want to transmit.

Used in: Message

message CancelPieceMessage

p2p.proto:56

Unused.

Used in: Message

message CompleteMessage

p2p.proto:74

Notifies other peers that the torrent has completed and all pieces are available.

Used in: Message

(message has no fields)

message ErrorMessage

p2p.proto:62

General purpose error message. Receivers may check the error code to determine the origin of the message.

Used in: Message

enum ErrorMessage.ErrorCode

p2p.proto:64

Used in: ErrorMessage

message Message

p2p.proto:76

enum Message.Type

p2p.proto:78

Used in: Message

message PiecePayloadMessage

p2p.proto:43

Provides binary payload response to a peer request. Always immediately followed by a binary blob sent over socket, so the receiver should be ready to treat the blob as a non-protobuf message.

Used in: Message

message PieceRequestMessage

p2p.proto:34

Requests a piece of the given index. Note: offset and length are unused fields and if set, will be rejected.

Used in: Message