[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] packet delay



I've asked about packet delay..
But I couldn't be replied.
I'm still wondering that.
Could you tell me?

--
Lee Kyeseon
Computer Communications Lab., CNU
Tel: +82-42-821-7792



Hi,

I want to transfer a packet after any delay time.
so, I added my code

-----
   double delay = ranvar_->value();
   Scheduler& s = Scheduler::instance();
   s.schedule(target_, pkt, delay*1000);
   send(pkt, 0);
--------


Is it correct?