Hi,
You can set parameter as follows:
set app [new Application/Traffic/CBR]
$app set rate_ 64000 ;#kbps
$app set packetSize_ 100 ;#bytes
You can get more details in ns manual.
Regards,
Hirantha
On Tue, 11 Jul 2006 16:22:22 +0100, "lekkie omotayo" <[EMAIL PROTECTED]
> wrote:
>
> Hi guys,
> Can anybody show me how I can change the parameters of a CBR traffic
> using tcl scripts. I mean parameters like: Packet size, time
> interval.
>
> Also, I want the CBR traffic to be duplex transmission. i.e. when a
> traffic is send to a receiver, I want the receiver to be able to send
> CBR packets back to the sender at a specified packet size and time.
>
> I also need to introduce some signaling to trigger the initiation of
> the second session.
>
> Thnx.
>