[ndnSIM] Wrong tag value
henda hnaien
hnaienhenda at gmail.com
Thu Apr 2 14:06:17 PDT 2020
hi all,
I have added a tag to a data packet but when the packet is received by the
next hop, the value of tag change ( example the value passed from 1000 to
e+19).
before send data :
double M;
auto tag =make_shared<lp::MTag>(M);
data.setTag(tag);
after receive data :
auto tag = data.getTag<lp::MTag>();
if(tag != nullptr){
double M = tag->get();
}
data.removeTag<lp::MTag>();
have you any idea about this problem. thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20200402/d0051547/attachment.html>
More information about the ndnSIM
mailing list