[ns] Scheduler Error

Babar Qaisrani babarq at gmail.com
Wed Nov 24 04:27:24 PST 2004


Hi
I have added the following code in to add delays in a Node ( queue/queue.cc)

void Queue::recv(Packet* p, Handler*)
{
        double now = Scheduler::instance().clock();
        double _delay = 100;
        Scheduler::instance().schedule(target_, p, _delay);
        enque(p);
...}

i compiled it and ran the simulation. it generated following error:

"Scheduler: Event UID not valid!"

Any help?

-- 
Regards,
Babar Qaisrani



More information about the Ns-users mailing list