<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 9, 2016, at 4:51 PM, <a href="mailto:bigcatlei@gmail.com" class="">bigcatlei@gmail.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class="">Hi Alex, </div><div class=""><br class=""></div><div class="">Thanks for your reply. We did add the following into our cpp program</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><font class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">const Name YourStrategyClass::STRATEGY_NAME("ndn:/localhost/nfd/strategy/you-strategy-name/%FD%00");<br class="">NFD_REGISTER_STRATEGY(YourStrategyClass);</span></font></blockquote><div class=""><br class=""></div>But it doesn't work. The nfdc cannot use the new strategy with the error code 504. </div><div class=""><br class=""></div><div class="">Is there any other particular things that we need to note in order to install a new forwarding strategy? </div></div></div></blockquote><div><br class=""></div><div>Hmm. It should work.  I just tried to create a dummy strategy.  I just added tmp.hpp and tmp.cpp files into daemon/fw folder and had invocation of NFD_REGISTER_STRATEGY macro.  After I run the compiled NFD, I'm able to use nfdc to set strategy:</div><div><br class=""></div><div><div>    # nfdc set-strategy /hello /localhost/nfd/strategy/tmp/%FD%00</div><div>    Successfully set strategy choice: ControlParameters(Name: /hello, Strategy: /localhost/nfd/strategy/tmp/%FD%00, )</div><div><br class=""></div></div></div></body></html>