<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Ashiq,<div class=""><br class=""></div><div class="">this behavior has to do with the fact that the window application is based on a maximum sequence number for the data to be fetched.</div><div class=""><br class=""></div><div class="">When you do not specifically set the max sequence number or the size of the data to be fetched (this is implicitly converted to a max seq number), then the application assumes max seq num = 0, tries to send out a single Interest (which does not eventually send since the current seq num is equal to the max one) and then stops.</div><div class=""><br class=""></div><div class="">To change this behavior and make the app send data until the end of the simulation, change line 131 of the ndn-consumer-window.cpp to:</div><div class=""><br class=""></div><div class="">m_seqMax = std::numeric_limits<uint32_t>::max();</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=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Mar 19, 2018, at 9:18 PM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" class="">marahman@email.arizona.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Spyros,<div class=""><br class=""></div><div class="">Here's the git: <a href="https://github.com/ashiqopu/ndn-ap-grid/blob/master/scratch/ndn-ap-grid.cc" class="">https://github.com/ashiqopu/ndn-ap-grid/blob/master/scratch/ndn-ap-grid.cc</a></div><div class=""><br class=""></div><div class="">You need to look at <b class="">line 603~608</b> for the different consumer applications and it's parameters.</div><div class=""><br class=""></div><div class="">Apologies for the bad code!</div><div class=""><br class=""></div><div class="">Regards-</div><div class="">Ashiq</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Mar 19, 2018 at 3:06 PM, Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Ashiq,<div class=""><br class=""></div><div class="">could you please paste on gist your simulation scenario too, so that I can try to run it?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><span class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~<wbr class="">mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div></div></div>
</div>
<br class=""></span><div class=""><div class="h5"><div class=""><blockquote type="cite" class=""><div class="">On Mar 19, 2018, at 11:45 AM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" target="_blank" class="">marahman@email.arizona.edu</a>> wrote:</div><br class="m_-3007875113373535087Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Spyros,<div class=""><br class=""></div><div class="">Yes. I have. Here's the logging for consumer and producer in a simulation with 1 STATION node and 3 seconds of simulation with no data size limit as described earlier:</div><div class=""><br class=""></div><div class=""><div class="">+0.000000000s -1 ndn.Consumer:Consumer()</div><div class="">+0.000000000s -1 ndn.Consumer:Consumer()</div><div class="">+0.000000000s -1 ndn.Producer:Producer()</div><div class="">+0.000000000s 53 ndn.Producer:StartApplication(<wbr class="">)</div><div class="">+0.000000000s 54 ndn.Consumer:StartApplication(<wbr class="">)</div><div class="">+0.000000000s 54 ndn.Consumer:StartApplication(<wbr class="">)</div><div class="">+0.000000000s 54 ndn.Consumer:SendPacket()</div><div class="">+0.000000000s 54 ndn.Consumer:SendPacket()</div></div><div class=""><br class=""></div><div class="">However, when I do set a data size limit (e.g. 2MB), then it's working without any issue. Here's the log for this: <a href="https://gist.github.com/ashiqopu/53328e29f0f8aa74749ca79880f61724" target="_blank" class="">https://gist.github.com/<wbr class="">ashiqopu/<wbr class="">53328e29f0f8aa74749ca79880f617<wbr class="">24</a></div><div class=""><br class=""></div><div class="">Regards-</div><div class="">Ashiq</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Mar 19, 2018 at 8:46 AM, Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">have you enabled the application logging component to see what’s going on?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~m<wbr class="">astorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div></div></div>
</div><div class=""><div class="m_-3007875113373535087h5">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2018, at 12:15 PM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" target="_blank" class="">marahman@email.arizona.edu</a>> wrote:</div><br class="m_-3007875113373535087m_-7938218042823146432Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello all,<div class=""><br class=""></div><div class="">I am trying to utilize the ConsumerWindow application where my Payload size is to be 512 bytes and send interests until simulation ends. However, I do not see any Interest being sent out. I did other experiments with the ConsumerCbr application in same scenario setup and that worked fine. What could I possibly be doing wrong?</div><div class=""><br class=""></div><div class="">Regards-<br class="">Ashiq</div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>