[ndnSIM] Change payload of content packet

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue May 13 10:49:05 PDT 2014

Hi Chavoosh,

You just need to modify the Producer implementation (or write your own producer class).  For the payload, you could use any of the methods to create payload "Packet" (http://www.nsnam.org/doxygen/classns3_1_1_packet.html), to which you will be adding NDN header/footer.


On May 13, 2014, at 9:38 AM, chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com> wrote:

> Hi
> I want change payload of content packet and fill it by custom payload in response of different interest packets. How it can be done? 
> Best regards
> -- 
> ----------------------------
> Chavoosh Ghasemi
> Information Technology M.S - Computer Networks 
> Sharif University-Computer Engineer Department
> "The quieter you become, the more you can hear"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140513/ccdedb90/attachment.html>

More information about the ndnSIM mailing list