[ndnSIM] Creating a new Interest packet at Forwarding Strategy

Mateus Sousa mateus.aluufc at gmail.com
Sun Oct 8 10:24:44 PDT 2017

Hi again,

I'm trying to create a new Interest packet at forwarding strategy. But I'm
getting error on its initialization.

I'm initializing the Interest as follows:

const shared_ptr<ndn::Interest>& new_interest =
make_shared<ndn::Interest>(); // <- the error is in this phase

and in "SendInterest" I'm getting the following error:

"error: no matching function for call to
std::shared_ptr<nfd::pit::Entry>&, nfd::face::Face&, const
     this->sendInterest(pitEntry, outFace, new_interest);"

How can I correctly initiate the Interest?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171008/87593ff5/attachment.html>

More information about the ndnSIM mailing list