<div>Greeting all,</div><div>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">There is a question about generating and send Interest. In my simulation, there exist specific router which will generate an Interest packet with a specific prefix, while the router does not install the consumer app, just in the afterReceiveInterest() method i want to implement this function.</p>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">And i use the following codes to generate an Interest, is this correctly?</p>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">  <font color="#ff0000">shared_ptr<Interest> interestTest = make_shared<Interest>();</font></p>
<p style="margin: 0px;">  <font color="#ff0000">ns3::ndn::Name nameTest = Name(prefix);</font></p>
<p style="margin: 0px;">  <font color="#ff0000">interestTest ->setName(nameTest );</font></p>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">How can I send this Interest to the network? The producer corresponding to specific prefix has build in advance.</p>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">Thanks,</p>
<p style="margin: 0px;"><br></p>
<p style="margin: 0px;">Pei Ren</p></div>