Re: [ns] how to get value in tcl from .cc

2014-05-12 Thread Jega Kumaran
how to rectify the error "Scheduler Event UID is not valid". i m creating my packet and send it to another node.then it checks some variable in the packet and create a new packet accordingly. then i have the error. please help me. i m in critical suituation. On 5/10/14, 林 哲弘 wrote: > > -- *

[ns] how to get value in tcl from .cc

2014-05-10 Thread 林 哲弘
Dear all, I 'm tring to get value form .cc in my file , AgentCPU.h and AgentCPU.cc there is a integer called "npkts_" and a fuction "recv" for receive Packets when I finally finished a packet , I will increase the "npkts_" 1 In further , in my tcl script I want to access the "npkts_" my code is li