--- En date de : Lun 22.6.09, El hadi Cherkaoui <e_cherka...@yahoo.fr> a écrit :

De: El hadi Cherkaoui <e_cherka...@yahoo.fr>
Objet: TCL VAR bind C++ linking
À: "NS  user" <ns-users@ISI.EDU>
Date: Lundi 22 Juin 2009, 19h04

hi every one,

I have a CBR source and i set rate_ at 160 kbps.

is it possible to change the value of rate_ during the simulation every several 
seconds (randomly) ?
for exemple :           0s to 50s rate_ = 160 kbps
                              50s and 100s rate_= 140kbps
                              100s and 150s rate_= 200kbps ....

please note that the values in the exemple are static, i want to get this value 
from an other C++ class.

If it's possible thanks to tell me how can i do
 !

Best reagrds.





      


      

Reply via email to