[ndnSIM] Getting the node's object

Mateus Sousa mateus.aluufc at gmail.com
Sun Jun 4 08:48:55 PDT 2017


That is exactly what I want! Really appreciate that.

Thanks a lot Mr. Dimpal and Mr. John for all support.

2017-06-04 1:54 GMT-03:00 DIMPAL SUTAR <dimpal.s at somaiya.edu>:

> Hi,
> You can get node id from custom forwarding strategy, using following  code:
> uint32_t nodeId =ns3::Node::NodeList::GetNode(ns3::
> Simulator::GetContext()))->GetId();
>
> <http://www.somaiya.edu>             <http://www.somaiya.edu/kjsmc>
> <http://www.nareshwadi.org> <http://www.somaiya.edu>
> <http://www.helpachild.in> <http://nareshwadi.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170604/acc88208/attachment-0001.html>


More information about the ndnSIM mailing list