[ndnSIM] InterestProcessTimeOut in NFD

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Mon Jun 8 08:25:25 PDT 2015

Hi Hitesh,

NFD is the NDN Forwarder, that is it operates somewhere between the Link and Network layers.

As far as the application layer timeouts, you should modify the code of the consumer application under the "/apps” directory (or create your own consumer application). Specifically, for this purpose, we have the OnTimeout method and some other methods to handle the retransmission timer (e.g., GetRetxTimer, CheckRetxTimeout, SetRetxTimer):


Hope that this helps.

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

> On Jun 8, 2015, at 8:02 AM, Hitesh Wadekar <wadekahn at clarkson.edu> wrote:
> Hello Guys,
> Do we have a function in NFD at app level such as InterestTimeOut()? like if I send an interest and if we didn't get any response of that interest then we should get a notification (event) InterestTimeOut.
> I could see a function in NDN face, (ndn-cxx/face.hpp)
>   const PendingInterestId*
>   expressInterest(const Interest& interest,
>                   const OnData& onData, const OnTimeout& onTimeout = OnTimeout());
> But don't know how to use it or call NDF app level
> Thanks for the input.
> Thanks,
> Hitesh

More information about the ndnSIM mailing list