<div dir="ltr">Hello Spyros,<div><br></div><div>Thanks. This fixed the issue.</div><div><br></div><div>Regards-<br>Ashiq</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2018 at 3:12 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Ashiq,<div><br></div><div>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><br></div><div>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><br></div><div>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><br></div><div>m_seqMax = std::numeric_limits<uint32_t>:<wbr>:max();</div><div><br></div><div>Hope that this helps,</div><div><span class=""><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div></span><div><div class="h5"><div><blockquote type="cite"><div>On Mar 19, 2018, at 9:18 PM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" target="_blank">marahman@email.arizona.edu</a>> wrote:</div><br class="m_8758546620447503946Apple-interchange-newline"><div><div dir="ltr">Hello Spyros,<div><br></div><div>Here's the git: <a href="https://github.com/ashiqopu/ndn-ap-grid/blob/master/scratch/ndn-ap-grid.cc" target="_blank">https://github.com/<wbr>ashiqopu/ndn-ap-grid/blob/<wbr>master/scratch/ndn-ap-grid.cc</a></div><div><br></div><div>You need to look at <b>line 603~608</b> for the different consumer applications and it's parameters.</div><div><br></div><div>Apologies for the bad code!</div><div><br></div><div>Regards-</div><div>Ashiq</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 3:06 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Ashiq,<div><br></div><div>could you please paste on gist your simulation scenario too, so that I can try to run it?</div><div><br></div><div>Thanks,</div><div><br></div><div><span><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div>
<br></span><div><div class="m_8758546620447503946h5"><div><blockquote type="cite"><div>On Mar 19, 2018, at 11:45 AM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" target="_blank">marahman@email.arizona.edu</a>> wrote:</div><br class="m_8758546620447503946m_-3007875113373535087Apple-interchange-newline"><div><div dir="ltr">Hello Spyros,<div><br></div><div>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><br></div><div><div>+0.000000000s -1 ndn.Consumer:Consumer()</div><div>+0.000000000s -1 ndn.Consumer:Consumer()</div><div>+0.000000000s -1 ndn.Producer:Producer()</div><div>+0.000000000s 53 ndn.Producer:StartApplication(<wbr>)</div><div>+0.000000000s 54 ndn.Consumer:StartApplication(<wbr>)</div><div>+0.000000000s 54 ndn.Consumer:StartApplication(<wbr>)</div><div>+0.000000000s 54 ndn.Consumer:SendPacket()</div><div>+0.000000000s 54 ndn.Consumer:SendPacket()</div></div><div><br></div><div>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">https://gist.github.com/<wbr>ashiqopu/53328e29f0f8aa74749ca<wbr>79880f61724</a></div><div><br></div><div>Regards-</div><div>Ashiq</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 8:46 AM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>have you enabled the application logging component to see what’s going on?</div><div><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div><div><div class="m_8758546620447503946m_-3007875113373535087h5">
<br><div><blockquote type="cite"><div>On Mar 16, 2018, at 12:15 PM, Md Ashiqur Rahman <<a href="mailto:marahman@email.arizona.edu" target="_blank">marahman@email.arizona.edu</a>> wrote:</div><br class="m_8758546620447503946m_-3007875113373535087m_-7938218042823146432Apple-interchange-newline"><div><div dir="ltr">Hello all,<div><br></div><div>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><br></div><div>Regards-<br>Ashiq</div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>