[ndnSIM] How to Use Tag in ndnSIM 2.1

Junxiao Shi shijunxiao at email.arizona.edu
Tue Nov 1 20:20:13 PDT 2016

Hi Jiebo

3.I got this code in Producer::OnInterest:
>   data->setContent(make_shared< ::ndn::Buffer>(m_virtualPayloadSize));
>  It seems the producer makes a virtual content and adds it to data's
> payload, how can I add information to content?

Look at "trivial producer", data->setContent line.

I'll leave other questions to someone else.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161101/5d98d4e3/attachment.html>

More information about the ndnSIM mailing list