<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1104425410;
mso-list-type:hybrid;
mso-list-template-ids:771287462 -1 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style></head><body lang=EN-US style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Dear NDN team,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My name is Puming Fang. I am a newbie to ndnSIM, and have introduced myself to ndnSIM by implementing a few interesting experiments.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is one of them and I am very curious about why this happened.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:9.75pt'> Node1</p><p class=MsoNormal style='text-indent:9.75pt'> |</p><p class=MsoNormal>Node 0---Node2---Node3</p><p class=MsoNormal><o:p> </o:p></p><ol style='margin-top:0in' start=1 type=1><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'>Node 0 sends out Interest “/a/b” to request Data.</li><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'>Node 1 sends out Interest “/b” to request Data.</li><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'>Node 3 is initialized with a producer of “/a/b”, but I made a slight change on Node 3 in producing Data: When Node 3 receives the Interest “/a/b”, it removes “/a” from “/a/b” and then responds with Data “/b”.</li></ol><p class=MsoNormal>Below is how node 3 removes “/a” from “/a/b” in Function Producer::OnInterest.</p><p class=MsoNormal>---------------------------------------------------------------</p><p class=MsoNormal>App::OnInterest(interest); // tracing inside</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> if (!m_active)</p><p class=MsoNormal> return;</p><p class=MsoNormal> </p><p class=MsoNormal> Name dataName(interest->getName());</p><p class=MsoNormal> dataName.erase(0);</p><p class=MsoNormal>------------------------------------------------------------------</p><p class=MsoListParagraph><o:p> </o:p></p><p class=MsoNormal>Obviously Node 0 didn’t receive the requested Data from Node 3. The interesting thing is that Node 1 didn’t receive Data “/b” from Node 3 either. Can anyone please explain to me why this happened?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Your help would be greatly appreciated.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,</p><p class=MsoNormal>Puming</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>