<div dir="ltr">Hi, <div><br></div><div>I have a question related to the ndn::Face object. </div><div><br></div><div>I am referring to the sample code given in the porting guide. Look for the code under title: "How to simulate real applications using ndnSIM"</div><div><a href="http://ndnsim.net/2.1/guide-to-simulate-real-apps.html">http://ndnsim.net/2.1/guide-to-simulate-real-apps.html</a></div><div><br></div><div>Here the '<span style="color:rgb(14,132,181);font-weight:bold">RealApp'</span> class defines a member variable <span class="gmail-n" style="color:rgb(0,0,0)">ndn</span><span class="gmail-o" style="color:rgb(102,102,102)">::</span><span class="gmail-n" style="color:rgb(0,0,0)">Face</span><span style="color:rgb(0,0,0)"> </span><span class="gmail-n"><font color="#000000">m_f</font>aceConsumer; So when this RealApp is *installed* on 'N' # of nodes in a simulation, each will have its own face.</span></div><div><span class="gmail-n"><br></span></div><div><span class="gmail-n" style="color:rgb(0,0,0)">So as long the 'RealApp' is using this '</span><font color="#000000">m_f</font>aceConsumer' to register the prefixes, it will be receiving all those Interests/Data packets. Do we have to explicitly create another face i.e. '<span class="gmail-n" style="color:rgb(0,0,0)">ndn</span><span class="gmail-o" style="color:rgb(102,102,102)">::</span><span class="gmail-n" style="color:rgb(0,0,0)">Face</span><span style="color:rgb(0,0,0)"> </span><span class="gmail-n" style="color:rgb(0,0,0)">m_faceProducer</span>' to sending out the Interest/Data traffic out from the application? </div><div><br></div><div>Though it is quite clear from the sample code, I am trying to understand that in my simulated application, do we just have to define a single 'ndn::Face' and it is good for simulation to run OR do we have to use second face the way it is give in this sample code? <br></div><div><br></div><div>Please comment. </div><div><br></div><div>/anil.</div><div><br></div><div><br></div><div><br></div></div>