[ndnSIM] Delay PIT and CS deletion

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Sat Aug 22 21:24:39 PDT 2015


> 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? 

The lifetime has to be of type time::milliseconds. So, something like time::milliseconds lifetime = time::milliseconds(250) should work.

> 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?

There is no fragmentation on the ndnSIM side (and I believe there is no fragmentation taking place on the NS3 side as well).

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



More information about the ndnSIM mailing list