I am new to ns3. I want to send custom data from node 1 to node 2(say a string) in UDP Echo Application. I am creating the packet, adding header and trailer, and the tags. I have also enabled metadata. I have used the code provided in other threads here to add the data into packet. (stringstream msg..........; ). But I am unable to view the data in the pcap, all I see is zeroes, so basically dummy packet is getting displayed. I have followed this link :
: http://www.nsnam.org/support/faq/miscellaneous/
Could anybody please tell me what I am doing wrong?
Thank you very much! :)