Hi,

Yes you can get the node ID through this code

Total number of Nodes: God::instance()->nodes();
Node ID: Node::nodeid();

Don't forget the include God.h

Hope it works

Regards

2008/5/15 anas abu_taleb <[EMAIL PROTECTED]>:

>
> Hi all
>
>  I am trying to get the node id in the aodv and the udpagent c++ codes. Can
> anyone provide my with the way to do that and I will be grateful.
>
>  Regards
>   Anas
>
>
>


-- 
Mubashir Husain Rehmani

M2R Réseaux et Télécommunications
L2S Supélec
Université de Paris Sud XI

Mobile France: 00 33 (0)6 32 00 89 35

Reply via email to