<div dir="ltr">hi alex and all,<div>correct me if i am wrong about my interpretation.</div><div>from the example file (ndn-simple.cc), i just did simple rule to set maximum number of prefix to be requested (i set to max = 200) to see how it works.(assuming the size of /prefix name file is consist of 200 segment)</div>
<div><br></div><div>1. consumer send interest for data name /prefix</div><div>2. Producer will reply /prefix 0 (part or chunk or segment of /prefix named file)</div><div>3. when consumer receive /prefix 0, consumer will send another interest for the same file name (/prefix) </div>
<div>4. producer will reply /prefix 1 since that is the sequence number for the complete named data of /prefix</div><div><br></div><div>im quite confused when i see the ns log file</div><div><br></div><div><div>0s 0 ndn.Consumer:SendPacket()</div>
<div>0s 0 ndn.Consumer:SendPacket(): [INFO ] > <font color="#ff0000">Interest for 0</font></div><div>0s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0.020496s 2 ndn.Producer:OnInterest(0x8c01308, 0x8c0db70)</div>
<div>0.020496s 2 ndn.Producer:OnInterest(): [INFO ] node(2) respodning with Data: /prefix/%00</div><div>0.057472s 0 ndn.Consumer:OnData(0x8c00d38, 0x8c0d260)</div><div>0.057472s 0 ndn.Consumer:OnData(): [INFO ] < <font color="#ff0000">DATA for 0</font></div>
<div>0.1s 0 ndn.Consumer:SendPacket()</div><div>0.1s 0 ndn.Consumer:SendPacket(): [INFO ] > <font color="#ff0000">Interest for 1</font></div><div>0.1s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 1 with +100000000.0ns. already 0 items</div>
<div>0.120512s 2 ndn.Producer:OnInterest(0x8c01308, 0x8c0f7f0)</div><div>0.120512s 2 ndn.Producer:OnInterest(): [INFO ] node(2) respodning with Data: /prefix/%00%01</div><div>0.157504s 0 ndn.Consumer:OnData(0x8c00d38, 0x8c0f5b0)</div>
<div>0.157504s 0 ndn.Consumer:OnData(): [INFO ] <font color="#ff0000">< DATA for 1</font></div></div><div><br></div><div>Is Consumer request specifically for /prefix 0 at the first time and when he get the data, the consumer send another interest for next data which is /prefix 1?</div>
<div><br></div><div>In this scenario, it is presumed that the size of /prefix is max 200 segment.</div><div><br></div><div><br></div><div>Sorry about my question, little confused. </div><div><br></div><div>I am planning to do research on window on NDNsim. Need advice. Many thanks</div>
<div><br></div><div><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<div><br></div><div>masri.sahri</div><div><br></div></div>
</div></div>