2.2.4 Request Message

The Retrieval Protocol specifies four Request Message types sent by the clients to the servers:

MSG_NEGO_REQ (section 2.2.4.1)

MSG_GETBLKLIST (section 2.2.4.2)

MSG_GETBLKS (section 2.2.4.3)

MSG_GETSEGLIST (section 2.2.4.4)

The complete layout of a request-type Peer Content Caching and Retrieval: Retrieval Protocol message is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

MESSAGE_HEADER

...

...

...

MESSAGE_BODY (variable)

...

MESSAGE_HEADER (16 bytes): Message header.

MESSAGE_BODY (variable): Message body, which contains one of the following: Negotiation Request (MSG_NEGO_REQ), GetBlockList (MSG_GETBLKLIST), GetBlocks (MSG_GETBLKS), or GetSegmentList (MSG_GETSEGLIST) request message.