<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Flávio,</div><div><br></div><div>This options was meant to define an upper bound on PIT entry lifetime, not the actual lifetime of interests.  However, in the current code, it is not (yet/anymore) used anywhere.</div><div><br></div><div>What you would want instead is configure your application.  If you're using ndn::Consumer* app, then you can do it during application creation stage:</div><div><br></div><pre style="overflow-x: auto; overflow-y: hidden; padding: 5px; line-height: 14px; border-top-width: 1px; border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(170, 204, 153); border-bottom-color: rgb(170, 204, 153); font-size: 12px; text-align: left; ">  <span class="n">ndn</span><span class="o" style="color: rgb(102, 102, 102);">::</span><span class="n">AppHelper</span> <span class="n">consumerHelper</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"ns3::ndn::ConsumerCbr"</span><span class="p">);</span>
  <span class="n">consumerHelper</span><span class="p">.</span><span class="n">SetPrefix</span> <span class="p">(</span><span class="n">prefix</span><span class="p">);</span>
  <span class="n">consumerHelper</span><span class="p">.</span><span class="n">SetAttribute</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"LifeTime"</span><span class="p">, TimeV</span><span class="n">alue</span> <span class="p">(<font color="#4070a0">Seconds (10.0)</font></span><span class="p">));</span>
  <span class="n">consumerHelper</span><span class="p">.</span><span class="n">Install</span> <span class="p">(</span><span class="n">consumerNodes</span><span class="p">);</span>
</pre><div>---</div><div>Alex </div><br><div><div>On Jul 12, 2013, at 5:45 AM, Flávio Queiroz <<a href="mailto:flavioqueiroz2004@hotmail.com">flavioqueiroz2004@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Alex,<br>How do I set the PIT lifetime greater than 2s?<br>In example "ndn-simple-max-pit-entry-lifetime.cc":<br><br>Config::Set ("/NodeList/1/$ns3::ndn::Pit/MaxPitEntryLifetime",<br>TimeValue (Seconds (10.0)));<br><br>the PIT lifetime is 2s.<br><br>( <a href="http://pastebin.com/eSmHKJn6">http://pastebin.com/eSmHKJn6</a> )<br>Thank You,<br>Flávio<br><br></blockquote></div><br></body></html>