[ns] [urgent][help] reg;otcl linkage

2006-08-07 Thread Karthikeyan Balraj

hi ns users,
   I am implementing watchdog and pathrater code over dsr
It works fine, but for the past few days i couldnt make linkage b/w my tcl
and c++ code
I mean, the code compiles in a normal way, when i tried like ns
sometest.tcl the simulation is working but its simply not invoking the c++
code and not doing the needed tests(and I am sure i specified the
routing agent as DSR)
Its urgent, tell me some way to rectify this error


cheers,
cartic


[ns] [urgent][help] reg;otcl linkage

2006-08-07 Thread Karthikeyan Balraj

hi ns users,
   I am implementing watchdog and pathrater code over dsr
It works fine, but for the past few days i couldnt make linkage b/w my tcl
and c++ code
I mean, the code compiles in a normal way, when i tried like ns
sometest.tcl the simulation is working but its simply not invoking the c++
code and not doing the needed tests(and I am sure i specified the
routing agent as DSR)
Its urgent, tell me some way to rectify this error


cheers,
cartic


[ns] [query]finding neighbor in dsr protocol

2006-07-25 Thread Karthikeyan Balraj

hi ns-users,
   I am trying to find whether the given node  is  our neighbor  or not
Is there any built-in function in ns(for dsr) or Is there anyway to  do it
in a simpler manner
its urgentplz reply me


note: I found a method named 'is_neighbor' in dsragent.cc but i couldnt
understand the purpose of this method

cheers,
Cartic