[ndnSIM] ConsumerWindow application does not get all Data (#33)

Alex Afanasyev alexander.afanasyev at ucla.edu
Fri Apr 12 11:37:38 PDT 2013

Hi Cheng,

Thanks for noticing the problem!

I just pushed a commit that should solve the bug.  I used a slightly different solution that you were suggesting, but the effect should be exactly the same.

Thanks again,

On Apr 12, 2013, at 11:28 AM, Cheng Yi <notifications at github.com> wrote:

> In ConsumerWindow::ScheduleNextPacket, m_inFlight is always increased when Consumer::SendPacket is scheduled, but Consumer::SendPacket does not always send out an Interest. If m_inFlight is increased when no Interest is sent out, it will cause m_inFlight to be larger than the actual number of in-flight Interests. As a result, Interests in the retransmission queue may not be sent out because the window size is smaller than the m_inFlight at the end of the simulation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130412/8c29160f/attachment.html>

More information about the ndnSIM mailing list