[ns] no target for slot 0

2007-04-24 Thread nevadita chatterjee

Hi All,
  I am writing a new clustering protocol for MANETs but I am getting a 
error as


---Classifier::no-slot{} default handler(tcl/lib/ns-lib.tcl)___
  _031:no target for slot 0
  _031 type: Classifier/Port
content dump:
classifier _031
  0 offset
  0 shift
  2147483647 mask
  1 slots
  slot 255: _017(Agent/DSDV)
Finished standard no-slot{} default-handler ---

can you help me to find when this error comes.

Thanks in advance

Nevadita

   
-
 SHOUT IT OUT! Tell everyone, from anywhere, that you're online on Yahoo! 
Messenger 


[ns] Problem in broadcasting packet for new protocol

2007-04-21 Thread nevadita chatterjee


Hi All,
  I have written a new clusteriing protocol, whenever i send request 
frm a node to its neighbor i use target_ as the handler eg.
 scheduler::instance.schedule(target_, p, 0);
but while running i am getting the error

Scheduler: attempt to schedule the event with NULL handler.

as i have searched target_ is variable in NSObject class it should inherit that 
value, but i dont know why i am not getting that, p is a broadcast packet in my 
case.

Thanks in Advance for any suggestion,
Please reply fast if u can help me

Nevadita
  

-

 

   
-
 Check out what you're missing if you're not on Yahoo! Messenger