[ndnSIM] Producer producing fix amount of content?

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Wed Jan 20 09:49:40 PST 2016


one way to do that is to carefully set the number (and rate) of Interests sent by the consumer application. 

Another way is to modify the producer application a little bit to keep track of the size of sent data. In this way, when you reach your limit, the producer application would stop to respond to Interest packets. However, the problem with this way is that the consumer application may continue to send out Interest packets.

A combination of both ways might be the best solution to your problem.

Hope that this helps.

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

> On Jan 17, 2016, at 2:55 AM, Muhammad Faran <m.faran.majeed at gmail.com> wrote:
> Hi All!
> Is there a way making producer producing fix amount of content in terms of both number of content packets and size of content?
> Kind regards,
> Muhammad Faran Majeed,
> AIT, Thailand
> _______________________________________________
> 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/20160120/d47cfbee/attachment.html>

More information about the ndnSIM mailing list