<div dir="ltr">Hi Jiebo<div><br></div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="gmail-"><div style="line-height:16.8px">3.I got this code in Producer::OnInterest: </div><div style="line-height:16.8px">  data->setContent(make_shared< ::ndn::Buffer>(m_virtualPayloa<wbr>dSize)); </div><div style="line-height:16.8px"> It seems the producer makes a virtual content and adds it to data's payload, how can I add information to content? </div></span></blockquote><div><br></div><div><a href="http://named-data.net/doc/ndn-cxx/current/examples.html">http://named-data.net/doc/ndn-cxx/current/examples.html</a></div><div>Look at "trivial producer", data->setContent line.</div><div><br></div><div><br></div><div>I'll leave other questions to someone else.</div><div><br></div><div>Yours, Junxiao</div></div></div></div></div>