<div dir="ltr"><div><div><div>Thanks for the answer Spyridon, <br><br></div>I have been trying to run the code after having modified the time but I got an error (./src/ndnSIM/NFD/daemon/table/pit-face-record.cpp:45:33: error: conversion from ‘double’ to non-scalar type ‘boost::chrono::milliseconds {aka boost::chrono::duration<long long int, boost::ratio<1ll, 1000ll> >}’ requested) I just made equal the lifetime value to 250. Probably I am doing it wrong and that's why the mistake. Could that just be changed by an integer value in order to be modified the PIT duration? <br><br></div>Another question that I wanted to make is about the total length of the ndn packet on the wire. The publisher sets the payload size but how much this could be increased? If it is go large, then fragmentation of the data message takes place before to be put on the wire?<br><br></div>Thanks in advance. <br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 5:32 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gustavo,<br>
<span class=""><br>
> Hello Spyridon,<br>
><br>
> First of all thanks for the answer.<br>
><br>
> I was wondering if the deletion of an entry in the PIT could be modified for another value different than the lifetime of the last interest received. I was thinking on a delay of 250ms because I am trying to simulate a satellite connection but I realize that a same content is issued two times because of the propagation delay (500ms) and it shouldn't be like this because the content will be forwarded but due to the large waiting time for the content then a new interest requesting the same content is issued.<br>
<br>
</span>In order to set the expiration time of a PIT entry to a value other than the Interest lifetime, you will need to modify this code:<br>
<br>
<a href="https://github.com/NDN-Routing/ndnSIM/blob/master/NFD/daemon/table/pit-face-record.cpp#L45" rel="noreferrer" target="_blank">https://github.com/NDN-Routing/ndnSIM/blob/master/NFD/daemon/table/pit-face-record.cpp#L45</a><br>
<span class=""><br>
<br>
> Another question is if it is possible to have two same contents on the channel at approximately 4s of difference between both of them even when the first content was delivered succesfully. Is this behaviour because of the expiration of the interest lifetime that the consumer issues again an interest requesting the same content?<br>
<br>
</span>This is most probably because of the timeouts on the application side. You will need to modify the way that the consumer application retransmits the Interests.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" rel="noreferrer" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
Internet Research Laboratory<br>
PhD Computer Science<br>
UCLA</div></div></blockquote></div><br></div>