Hi Kevin and Abdul Serwadda, Thanks, it works correctly. Sorry Kevin, last time I said it didn't work, but it was my bad I forgot to put "_" after interval.
Thavouth K. ________________________________ From: Abdul Serwadda <abdulserw...@gmail.com> To: Thavouth Khoun <thavouth.nsu...@yahoo.com> Sent: Monday, June 8, 2009 7:16:51 PM Subject: Re: [ns] CBR traffic "$cbr_0 set interval_ 0.02" is the statement that should do it for you. It simply means that the cbr agent sends every 0.02seconds,an equivalent of 2ms. Abdul Serwadda Makerere University kampala, Uganda- ________________________________ From: Kevin Xe. <xenon_as2...@163.com> To: Thavouth Khoun <thavouth.nsu...@yahoo.com> Sent: Monday, June 8, 2009 8:30:10 AM Subject: Re:[ns] CBR traffic hi, u'd better try this sentence in tcl "$cbr_(0) set interval_ 0.02" Kevin Xe. 在2009-06-05,"Thavouth Khoun" <thavouth.nsu...@yahoo.com> 写道: > >Hi ns-users, > >Anybody knows how to generate a cbr traffic every 20ms? >I've been using "$cbr_0 set idle_time_ 20ms" >and "$cbr_0 set burst_time_ 10ms" , but it send a cbr packet >around every 25ms. Maybe I don't set burst_time correctly. > >Any ideas? > >Thanks, > >Thavouth K. > > > 网易企业邮,商务邮箱专家