[ndnSIM] About the type of ndn consumer

Teng Liang philoliang2011 at gmail.com
Sat Apr 15 12:54:42 PDT 2017


Hi Hexiao,

If you are using ConsumerCbr, Interest sending rate is controlled in
ConsumerCbr::ScheduleNextPacket().
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer-window.cpp#L155

You can modify sequence number in Consumer::SendPacket().
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L181

Best,
Teng

On Sat, Apr 15, 2017 at 8:04 AM, 何晓春 <hexiaochun at bupt.edu.cn> wrote:

> Dear Sir/Madam,
>
>
> I'm a senior student in China. Recently, I recognize that
> ns3::ndn::ConsumerCbr let consumer send interest packages in random
> frequency while the sequence of packages is in order.
>
>
> How to let consumer send interest packages in random frequency but also in
> random sequence ?
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170415/46d20ee1/attachment-0001.html>


More information about the ndnSIM mailing list