[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
‘nfd::fw::MulticastStrategy::sendInterest(const
std::shared_ptr<nfd::pit::Entry>&, nfd::face::Face&, const
std::shared_ptr<ndn::Interest>&)’
     this->sendInterest(pitEntry, outFace, new_interest);"

How can I correctly initiate the Interest?

Thanks in advance,
Mateus.
-------------- 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