[ndnSIM] Implementation of tag

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Thu Nov 30 16:55:21 PST 2017


Hi,

you do not have to specify anything in the simulation scenario. Just add the tag that you want in the data packet and then you should be able to access it in your application by using the GetTag method:

https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L227-L232

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Nov 29, 2017, at 12:02 AM, 5 project <project5.is.tus at gmail.com> wrote:
> 
> Hello.
> 
> I prepared a tag to store the name of the sender in the Data packet.
> 
> What should be described in the scenario file to actually implement it?
> 
> Thanks!

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


More information about the ndnSIM mailing list