<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Dear all,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am facing a problem while changing in ndn-simple.cpp as given below:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<ol>
<li><span>I want to add caching in ndn-simple.cpp but i face an error. What is the mistake in following code?<br>
</span></li></ol>
<div class="ContentPasted0">// Connecting nodes using two links
<div class="ContentPasted0">  PointToPointHelper p2p;</div>
<div class="ContentPasted0">  p2p.Install(nodes.Get(0), nodes.Get(2));</div>
<div class="ContentPasted0">  p2p.Install(nodes.Get(1), nodes.Get(2));</div>
<div class="ContentPasted0">  p2p.Install(nodes.Get(2), nodes.Get(3));</div>
<div class="ContentPasted0">  </div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">  // Install NDN stack on all nodes </div>
<div class="ContentPasted0">  ndn::StackHelper ndnHelper;</div>
<div class="ContentPasted0">  ndnHelper.SetDefaultRoutes(true);</div>
<div class="ContentPasted0">ndnHelper.setCsSize(100);</div>
<div class="ContentPasted0">ndnHelper.setPolicy("nfd::cs::lru");</div>
<div class="ContentPasted0"><span style="background-color: rgb(255, 255, 0);">ndnHelper.Install(nodes.Get(2));</span></div>
<div class="ContentPasted0"> <br>
</div>
</div>
<div class="ContentPasted0">Looking for your response please.<br>
</div>
</div>
<div class="elementToProof"><br>
<div id="Signature">
<div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:0px; margin-top:0; margin-bottom:0"></p>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
<font size="2" face="sans-serif" color="black"><span style="font-size:11pt"><br>
</span></font></div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
<font size="2" face="sans-serif" color="black"><span style="font-size:11pt"></span></font></div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
<font size="2" face="sans-serif" color="black"><span style="font-size:11pt"><br>
</span></font></div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
BR,</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
<br>
</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
Magsi, Arif Hussain</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
____________________</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
ahmagsi@sau.edu.pk</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
Whatsapp. +92-302-3483433</div>
<div style="font-family:sans-serif; font-size:14.6667px; margin:0px; padding:0px">
Wechat. +86-15600225390</div>
<p style="margin-top:0px; margin-bottom:0px"></p>
</div>
</div>
</div>
</div>
</body>
</html>