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

[ns] TFRC Agent



Hello,

I have a question regarding the use of tcp-friendly (TFRC) agent to
transport video trace. In my simulation, it seems that the TFRC agent is
unable to read the MPEG trace input. There is no output trace produced.
Should TFRC agent be used on top of UDP for this purpose?

Here's my partial tcl script:

...

set tfile [new Tracefile]
$tfile filename mpegtrace
set t1 [new Application/Traffic/Trace]
$t1 attach-tracefile $tfile

set tfrcs [new Agent/TFRC]
$ns attach-agent $n0 $tfrcs

set tfsink [new Agent/TFRCSink]
$ns attach-agent $n3 $tfsink

$ns connect $tfrcs $tfsink

#Schedule events for the tf agent
$ns at 0.0 "$t1 start"
$ns at 9.0 "$t1 stop"

#Call the finish procedure after 10 seconds of simulation time
$ns at 10.0 "finish"

Any hints? Please help.

TIA
------

fizal


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup