[Ndn-interest] NDNLPv2: create lp::packet and add content
adhysatya820 at gmail.com
Thu Jul 20 19:54:19 PDT 2017
Following the idea of exchanging information between the consumer and the
producer, what's the difference between creating a ndn::lp::Packet or
a ndn::TagHost? Which method should I use?
I saw older posts (this
but this methods are for CachePolicy and NextHopFaceIdTag. I want to send a
string "Hello" (type Name actually).
In line with what Ashlesh did, I added the following lines at Consumer (
but need help with the commented lines.
// add string ("Hello") to lpPacket
// send lpPacket
And then I'll need to read that packet in the producer.
Thanks again for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest