Hello, below you can find a piece of my code which is working: set sctp_start_08 [new Agent/SCTP/CMT] $ns multihome-attach-agent $start0 $sctp_start_08 $sctp_start_08 set fid_ 0 $sctp_start_08 set debugMask_ 0 $sctp_start_08 set debugFileIndex_ 0 $sctp_start_08 set mtu_ 1500 $sctp_start_08 set dataChunkSize_ 1468 $sctp_start_08 set numOutStreams_ 2 $sctp_start_08 set useCmtReordering_ 1 # turn on Reordering algo. $sctp_start_08 set useCmtCwnd_ 1 # turn on CUC algo. $sctp_start_08 set useCmtDelAck_ 1 # turn on DAC algo. $sctp_start_08 set eCmtRtxPolicy_ 2 # rtx. policy : RTX_SSTHRESH $sctp_start_08 set useCmtPF_ 1 # turn on CMT-PF $sctp_start_08 set cmtPFCwnd_ 2 # cwnd=2*MTU after HB-ACK
set trace_sctp08 [open bw50_d5_sctp_0_sctp08.tr w] $sctp_start_08 set trace_all_ 1 # trace them all on one line $sctp_start_08 trace cwnd_ $sctp_start_08 trace rto_ $sctp_start_08 trace errorCount_ $sctp_start_08 attach $trace_sctp08 I notice a tiny difference in the place of the "set trace_all_". As you can see I am using SCTP-CMT. I do not know if it is related Arnaud On Thu, 2009-05-14 at 22:52 +0200, Ines Kechiche wrote: > From: > Ines Kechiche > <noussa.in...@gmail.com> > To: > Ns-users@ISI.EDU > Subject: > [ns] Problem with tracing SCTP > Agent Trafic > Date: > Thu, 14 May 2009 22:52:28 +0200 > > > > hi to all, > I'm trying to trace SCTP trafic,to explore the cwnd and rto values. > Unfortunately