[ndnSIM] How packet loss is recovered?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Mon May 21 10:35:13 PDT 2018

Hi Mudasir,

the default mechanism for recovering lost packets has been implemented on the consumer-end, and is based on RTT estimations. The consumer estimates the RTT to the producer, if a data packet is not received within this amount of time, then the consumer will retransmit.

There is another mechanism that can is performed on layer 2 by NFD, which is a hop-by-hop best effort loss recovery scheme and has to be separately enabled in the simulations.


Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On May 21, 2018, at 10:14 AM, Mudasir Qazi <mudasirqazi00 at gmail.com> wrote:
> Hi,
> I have a general question about the recovery of a lost packet in ndnSIM 2.3. Let's say, we have a consumer (ndn-consumer.cpp) which has requested packets ( '/prefix/%FE%00', '/prefix/%FE%01' and '/prefix/%FE%02' ) in a sequence. The producer (ndn-producer.cpp) replied with the data packets. Let's say some how, data reply of '/prefix/%FE%01' is lost and never received at consumer. How the consumer will get those lost data packets? Would it send request for next packet i.e., '/prefix/%FE%03' or it will send request of '/prefix/%FE%01' again? What phenomenon is used in ndnSIM 2.3.
> (please answer with the code file name and methods which are called to recover a lost packet)
> -- 
> Regards,
> Mudasir Qazi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180521/16755fcd/attachment.html>

More information about the ndnSIM mailing list