cbr.tcl
来自「跑leach需要的」· TCL 代码 · 共 22 行
TCL
22 行
## nodes: 5, max conn: 1, send rate: 2.0, seed: 1### 2 connecting to 3 at time 82.557023746220864#set udp_(0) [new Agent/UDP]$ns_ attach-agent $node_(2) $udp_(0)set null_(0) [new Agent/Null]$ns_ attach-agent $node_(3) $null_(0)set cbr_(0) [new Application/Traffic/CBR]$cbr_(0) set packetSize_ 512$cbr_(0) set interval_ 2.0$cbr_(0) set random_ 1$cbr_(0) set maxpkts_ 10000$cbr_(0) attach-agent $udp_(0)$ns_ connect $udp_(0) $null_(0)$ns_ at 82.557023746220864 "$cbr_(0) start"$ns_ at 492.557023746220864 "$cbr_(0) stop"#Total sources/connections: 1/1#
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?