<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L227-L232" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L227-L232</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 29, 2017, at 12:02 AM, 5 project <<a href="mailto:project5.is.tus@gmail.com" class="">project5.is.tus@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hello.<br class=""><br class=""></div><span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span class="gmail-">I prepared a tag to store the name of the sender in the Data packet.<br class=""><br class=""></span></span><span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span class="gmail-">What should be described in the scenario file to actually implement it?<br class=""><br class="">Thanks!<br class=""></span></span></div></div></blockquote></div><br class=""></div></body></html>