[ns] How many length of the MAC layer frame header of the duplex link ?
Hi, all ! If I set up one duplex link between two node. How many length of the MAC layer frame header of the duplex link ? Thank for any responses. Sincerely yours, kerwin
[ns] How to copy an existing SCTP agent and add a new one ?
Dear all, I did some modifications of SCTP source code on ns2. I want to simulate the new SCTP and the original SCTP concurrently. But there is only new SCTP can setup in the script. How to copy the original SCTP agent and add a new one ? Thank for your responses. Sincerely yours, kerwin
[ns] what does the setup $tcp set class_ 2 mean ?
Hi! all.What does the setup $tcp set class_ 2 mean in simulation script ?Thank for your responses. 改變每一天 從Xuite開始http://www.xuite.net
[ns] How to add a timer in one existing agent?
Hi! all, I want to add a new timer in one existing agent, such as TCP, SCTP etc. The object is sending a especial packet periodically. But I have no idea to do the work. Thank for any suggestions. Kerwin 改變每一天 從Xuite開始 http://www.xuite.net
[ns] How to trigger SCTP Heartbeat chunk work during data transmission ?
I am doing some SCTP experiments. The Heartbeat chunk will work on sender when one path is idle or timeout. If I want to send Heartbeat chunk during data transmission. How to modify the SCTP source code on ns2? Thank for your suggestions. Kerwin 改變每一天 從Xuite開始 http://www.xuite.net
[ns] How to build a simple agent on transport layer ?
Hi all ! I am beginner. I want to add a simple agent on transport layer. It only needs sending a packet periodically. Thank for any suggestions. 改變每一天 從Xuite開始 http://www.xuite.net
[ns] SCTP application traffic can not work !?
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
[ns] How to let SCTP Heartbeat chunk work during data transmission ?
I am doing some SCTP experiments. The Heartbeat chunk will work on sender when one path is idle or timeout. If I want to send Heartbeat chunk during data transmission. Which functions on ns2 I should to modify ? Thank for your suggestions. kerwin 改變每一天 從Xuite開始 http://www.xuite.net
[ns] How to use SCTP application traffic ?
Hi all, I saw the sctp.{h, cc} source codes in ~ns-2.29\apps directory. How to use the SCTP application traffic in tcl scripts ? Thank a lot ! kerwin 改變每一天 從Xuite開始 http://www.xuite.net