<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">one way to do that is to carefully set the number (and rate) of Interests sent by the consumer application. </div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">A combination of both ways might be the best solution to your problem.</div><div class=""><br class=""></div><div class="">Hope that this helps.</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 17, 2016, at 2:55 AM, Muhammad Faran <<a href="mailto:m.faran.majeed@gmail.com" class="">m.faran.majeed@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi All!<br class=""><br class=""></div>Is there a way making producer producing fix amount of content in terms of both number of content packets and size of content?<br class=""><br class=""><br clear="all" class=""><div class=""><div class=""><div class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Kind regards,<br class=""><br class="">Muhammad Faran Majeed,<br class="">AIT, Thailand<br class=""></div></div></div></div></div>
</div></div></div></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></div></body></html>