Dear Ns users,

 

I have creating an Agent and I'm having a problem sending packets. 

 

I'm using the next order:

 Scheduler::instance():schedule(target_,  (the packet), (random time));

The error message I get when I do this is:

Scheduler: attempt to schedule an event with NULL handler. Don't do that.

 

I'm using this sending method in other agents without any problem. I also
try to change the sending method using "send(pkt, 0)" and the cause of break
in this case is Segmentation Fault.

 

Thank you in advance,

Regards,

Juan

Reply via email to