Re: [ns] Problem with Scheduler

2008-09-25 Thread Maurizio Bellemo
Hi all, > > I have a little problem with the Scheduler. I schedule some packets in my > program > > Scheduler::instance().schedule(target_, p, (100/tcf_time)); > > but when i try to cancel some of them from the queue not to be sent > > Scheduler::instance().cancel(p); > drop(p); > > It doesn't wo

[ns] Problem with Scheduler

2008-09-24 Thread Maurizio Bellemo
Hi all, I have a little problem with the Scheduler. I schedule some packets in my program Scheduler::instance().schedule(target_, p, (100/tcf_time)); but when i try to cancel some of them from the queue not to be sent Scheduler::instance().cancel(p); drop(p); It doesn't work. I read the trace

Re: [ns] problem with scheduler

2007-03-24 Thread Filippos Kolovos
4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Send Ns-users mailing list submissions to > ns-users@isi.edu > > -- Forwarded message ------ > From: "Amin Irandoost" <[EMAIL PROTECTED]> > To: ns-users@ISI.EDU > Date: Fri, 23 Mar 2

[ns] problem with scheduler

2007-03-22 Thread Amin Irandoost
hi dear friends my problem with scheduler still not solved what is may mistake? set k 1 $ns at 0.2 "global k;set k 4" $ns at 0.3 "global k; puts \"k=$k\"" "global" in the above code doesn't impress please help me emergency I'm waiting for your reply Thanks in advance -- Amin Irandoost

Re: [ns] problem with Scheduler(please see this code and tell memistake)

2007-03-22 Thread Pedro Vale Estrela
$ns at 0.2 "global k; set k 4" $ns at 0.3 "glonal k; puts \"k=$k\"" > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Amin Irandoost > Sent: quinta-feira, 22 de Março de 2007 15:18 > To: ns-users@I

[ns] problem with Scheduler(please see this code and tell me mistake)

2007-03-22 Thread Amin Irandoost
hi all what is problem this code? set k 0 $ns at 0.2 "set k 4" $ns at 0.3 "puts \"k=$k\""print 0 lieu 4 on screen !!! Thanks in advance -- Amin Irandoost