/**
* Message sizes
+ * Sizes based on report by A. Legout et al, Understanding BitTorrent: An Experimental Perspective
+ * http://hal.inria.fr/inria-00000156/en
*/
#define MESSAGE_HANDSHAKE_SIZE 68
#define MESSAGE_CHOKE_SIZE 5
MESSAGE_HAVE,
MESSAGE_BITFIELD,
MESSAGE_REQUEST,
- MESSAGE_PIECE
+ MESSAGE_PIECE,
+ MESSAGE_CANCEL
} e_message_type;
/**