Hi! all, I tried to use SCTP application traffic and observe the variety of congestion window. The simulation is successful, but the trace file is empty. Below is my tcl script. Is there anything wrong ? ####script beginning#### set ns [new Simulator] set allchan [open all.tr w] $ns trace-all $allchan proc finish {} { global ns allchan trace_ch $ns flush-trace close $allchan close $trace_ch exit 0 } set n0 [$ns node] set r0 [$ns node] set r1 [$ns node] set n1 [$ns node] $ns duplex-link $n0 $r0 10Mb 1ms RED $ns duplex-link $r0 $r1 1.5Mb 10ms RED $ns duplex-link $r1 $n1 10Mb 1ms RED set queue 18 $ns queue-limit $r0 $r1 $queue
set sctp0 [new Agent/SCTP] $ns attach-agent $n0 $sctp0 set trace_ch [open trace.sctp w] $sctp0 trace cwnd_ ; $sctp0 attach $trace_ch set sctp1 [new Agent/SCTP] $ns attach-agent $n1 $sctp1 $ns connect $sctp0 $sctp1 set sctpapp0 [new Application/SctpApp1] $sctpapp0 attach-agent $sctp0 $ns at 0.0 "$sctpapp0 start" $ns at 10.0 "$sctpapp0 stop" $ns at 10.0 "finish" $ns run ####script end####