<div dir="ltr"><div><div><div><div><div><div><div><div>Good morning, <br><br></div>I have done what you told but I still continue to loose some packets, much less than before but I still continue to loose:<br><br></div>This is what I have done:<br></div>Consumer:<br>nfdc face create udp4://$1 reliability on<br>nfdc route add /app1 udp4://$1<br><br></div>Producer:<br></div>nfdc face create udp4://$1 reliability on<br><br><br></div>Should it be enough, right?<br><br></div>Thank you.<br></div>Giuseppe<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-10 19:49 GMT+01:00 Davide Pesavento <span dir="ltr"><<a href="mailto:davide.pesavento@lip6.fr" target="_blank">davide.pesavento@lip6.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Giuseppe,<br>
<br>
You didn't need to change the code. As Eric said, to enable the<br>
LpReliability feature, you can specify "reliability on" when creating<br>
a face with nfdc.<br>
<br>
That being said, make sure you enable LpReliability on *both* ends of<br>
the link, otherwise the receiver won't know that it has to send ACKs<br>
back.<br>
<br>
Best regards,<br>
Davide<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jan 10, 2018 at 10:10 AM, Giuseppe Carella<br>
<<a href="mailto:gcarella228@gmail.com">gcarella228@gmail.com</a>> wrote:<br>
> Good morning Eric,<br>
><br>
> I tried to use this functionality changing the NFD code (I set the boolean<br>
> variable isEnalbe = true into the file lp-reliability.hpp).<br>
> It seems that the retransmission becomes mandatory in this way (every time<br>
> the request is sent maxRetx + 1 times).<br>
> Does it behave like that or the retransmission verifies only if the ack is<br>
> not received within RTO?<br>
> Is it possible to customize the value of RTO?<br>
><br>
> Thank you.<br>
> Giuseppe.<br>
><br>
> 2018-01-04 20:18 GMT+01:00 Eric Newberry <<a href="mailto:enewberry@email.arizona.edu">enewberry@email.arizona.edu</a>>:<br>
>><br>
>> Hi Giuseppe,<br>
>><br>
>> By default, the number of retransmissions is set to 3. The option<br>
>> controlling this is in LpReliability::Options as maxRetx. However, currently<br>
>> there is no way to set this option using nfdc or any other management tool.<br>
>> Therefore, if you want to change this, you would need to modify the NFD<br>
>> source code, recompile, and reinstall. There are no options relating to the<br>
>> reliability system in nfd.conf.<br>
>><br>
>> Eric<br>
>><br>
>><br>
>> On 01/04/2018 02:10 AM, Giuseppe Carella wrote:<br>
>><br>
>> Good morning Eric,<br>
>><br>
>> Thank you for your answer.<br>
>> I understood that it's possible to implement the retransmission by means<br>
>> of NDNLPv2, which is a protocol located upon the transport layer.<br>
>> So I have to set a maximum number of retransmissions, that's all (I hope).<br>
>> Is it enough modifying some properties into nfd.conf to choose the maximum<br>
>> number of retransmissions or I have to add some new APIs into applicative<br>
>> layer?<br>
>><br>
>> Thank you.<br>
>> Giuseppe.<br>
>><br>
>> 2018-01-04 9:31 GMT+01:00 Eric Newberry <<a href="mailto:enewberry@email.arizona.edu">enewberry@email.arizona.edu</a>>:<br>
>>><br>
>>> Giuseppe,<br>
>>><br>
>>> NFD release 0.6.0 implements a link-layer reliability system as part of<br>
>>> NDNLPv2 for unicast TCP, UDP, and Ethernet faces. It can be enabled by<br>
>>> specifying "reliability on" when creating (or updating) a face with nfdc. In<br>
>>> order for the system to function, it must be enabled on both ends of the<br>
>>> link. The above command only enables it on one end.<br>
>>><br>
>>> Eric<br>
>>><br>
>>><br>
>>> On 01/04/2018 01:24 AM, Giuseppe Carella wrote:<br>
>>><br>
>>> Good morning community,<br>
>>><br>
>>> is it possible to configure NFD in order to allow an UDP communication<br>
>>> with retransmission?<br>
>>> I know that I could use TCP, but for my purpose it's necessary having UDP<br>
>>> with retransmission.<br>
>>><br>
>>> Thank you.<br>
>>> Giuseppe.<br>
>>><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> Ndn-interest mailing list<br>
>>> <a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
>>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndn-interest</a><br>
>>><br>
>>><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> Ndn-interest mailing list<br>
>>> <a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
>>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndn-interest</a><br>
>>><br>
>><br>
>><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Nfd-dev mailing list<br>
> <a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
><br>
</div></div></blockquote></div><br></div>