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

[ns] Question about FullTCP



Hi to all,
I'm using FullTCP for my simulations. I want to use the procedure called
"record" (from the tutorial of Marc Greis) to record values of "seqno"
produced by the sender and "ackno" produced by the receiver, but I have
found only the variable called "t_seqno_" to record sequence numbers, while
there is no variable for ACK numbers. Can anyone help me?

Thanks in advance

Sandro Petrizzelli


P.S. Here is my procedure "record":

proc record {} {
 global ns mitt ricv output
 set ns [Simulator instance]
 set time 0.1
 set now [$ns now]
 set numseq [$mitt set t_seqno_]
 puts $output "$now $numseq "

 $ns at [expr $now+$time] "record"
}