<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Feb 17, 2013, at 12:07 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><div><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">hi all,<div><span class="Apple-tab-span" style="white-space:pre">     </span>I met a error message said: <br><div><span class="Apple-tab-span" style="white-space:pre">      </span>"msg="Limits are enabled, but the selected forwarding strategy does not support limits. Please revise your scenario", file=../src/ndnSIM/helper/ndn-stack-helper.cc, line=311<div>terminate called without an active exception"</div><div><span class="Apple-tab-span" style="white-space:pre">    </span></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>I think I use the right Fowarding strategy:</div><div><div>ccnxHelper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute::PerOutFaceLimits",</div><div>                                   "Limit", "ns3::ndn::Limits::Window");</div><div>ccnxHelper.EnableLimits(true, Seconds(0.2), 40, 1100);</div></div><div><br></div><div>What's wrong? anyone can help?<span class="Apple-tab-span" style="white-space:pre">   </span></div></div></div></div></blockquote><div><br></div>The strategy is right, it is strange that you're getting the error.  Can you copy/paste here a code from your scenario from creation of the helper till calling Install (Install should be called last, after setting limits and selecting the strategy)?<div><br></div><div>---</div><div>Alex<br><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div><div><div><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div></div></div></div></div></blockquote></div></body></html>