Hello all,

Does anyone know how to get node Id from TCL side?
It is possible to hold node ID when it is created since ns-2 starts
assigning node from 0, but as I have several nodes I want to access at some
point during simulation.
There is something like srcId_ and dstId_ in Queue-monitor, are they the
same as source and destination IDs, if so how can I access from TCL side
 like the following.
set qeuemon [$ns monitor-queue $n1 $n2  ""]

thanks,


-- 
*Dejene Boru*
*.............................................
*
Graduate Student-Telecom Eng
University of Trento
Via  Brennero 150
Trento, Italy
dejeneboru.oljir...@unitn.it
djz...@gmail.com
0039-388-998-1919

*
*

Reply via email to