?? tcp-4clusters-28
字號:
set opt(conns) 28## 18 connecting to 59 at time 324#set tcp_(0) [new Agent/TCP]set sink_(0) [new Agent/TCPSink] $tcp_(0) set fid_ 0$sink_(0) set fid_ 0$ns_ attach-agent $node_(18) $tcp_(0)$ns_ attach-agent $node_(59) $sink_(0)$ns_ connect $tcp_(0) $sink_(0)$tcp_(0) set window_ 32$tcp_(0) set packetSize_ 1400set ftp_(0) [$tcp_(0) attach-source FTP]$ns_ at 324 "$ftp_(0) start"set stime_(0) 324## 54 connecting to 69 at time 317#set tcp_(1) [new Agent/TCP]set sink_(1) [new Agent/TCPSink] $tcp_(1) set fid_ 1$sink_(1) set fid_ 1$ns_ attach-agent $node_(54) $tcp_(1)$ns_ attach-agent $node_(69) $sink_(1)$ns_ connect $tcp_(1) $sink_(1)$tcp_(1) set window_ 32$tcp_(1) set packetSize_ 1400set ftp_(1) [$tcp_(1) attach-source FTP]$ns_ at 317 "$ftp_(1) start"set stime_(1) 317## 77 connecting to 30 at time 315#set tcp_(2) [new Agent/TCP]set sink_(2) [new Agent/TCPSink] $tcp_(2) set fid_ 2$sink_(2) set fid_ 2$ns_ attach-agent $node_(77) $tcp_(2)$ns_ attach-agent $node_(30) $sink_(2)$ns_ connect $tcp_(2) $sink_(2)$tcp_(2) set window_ 32$tcp_(2) set packetSize_ 1400set ftp_(2) [$tcp_(2) attach-source FTP]$ns_ at 315 "$ftp_(2) start"set stime_(2) 315## 28 connecting to 13 at time 321#set tcp_(3) [new Agent/TCP]set sink_(3) [new Agent/TCPSink] $tcp_(3) set fid_ 3$sink_(3) set fid_ 3$ns_ attach-agent $node_(28) $tcp_(3)$ns_ attach-agent $node_(13) $sink_(3)$ns_ connect $tcp_(3) $sink_(3)$tcp_(3) set window_ 32$tcp_(3) set packetSize_ 1400set ftp_(3) [$tcp_(3) attach-source FTP]$ns_ at 321 "$ftp_(3) start"set stime_(3) 321## 14 connecting to 11 at time 305#set tcp_(4) [new Agent/TCP]set sink_(4) [new Agent/TCPSink] $tcp_(4) set fid_ 4$sink_(4) set fid_ 4$ns_ attach-agent $node_(14) $tcp_(4)$ns_ attach-agent $node_(11) $sink_(4)$ns_ connect $tcp_(4) $sink_(4)$tcp_(4) set packetSize_ 1400set ftp_(4) [$tcp_(4) attach-source FTP]$ns_ at 305 "$ftp_(4) start"set stime_(4) 305## 3 connecting to 17 at time 309#set tcp_(5) [new Agent/TCP]set sink_(5) [new Agent/TCPSink] $tcp_(5) set fid_ 5$sink_(5) set fid_ 5$ns_ attach-agent $node_(3) $tcp_(5)$ns_ attach-agent $node_(17) $sink_(5)$ns_ connect $tcp_(5) $sink_(5)$tcp_(5) set window_ 32$tcp_(5) set packetSize_ 1400set ftp_(5) [$tcp_(5) attach-source FTP]$ns_ at 309 "$ftp_(5) start"set stime_(5) 309## 8 connecting to 10 at time 306#set tcp_(6) [new Agent/TCP]set sink_(6) [new Agent/TCPSink] $tcp_(6) set fid_ 6$sink_(6) set fid_ 6$ns_ attach-agent $node_(8) $tcp_(6)$ns_ attach-agent $node_(10) $sink_(6)$ns_ connect $tcp_(6) $sink_(6)$tcp_(6) set window_ 32$tcp_(6) set packetSize_ 1400set ftp_(6) [$tcp_(6) attach-source FTP]$ns_ at 306 "$ftp_(6) start"set stime_(6) 306## 9 connecting to 5 at time 314#set tcp_(7) [new Agent/TCP]set sink_(7) [new Agent/TCPSink] $tcp_(7) set fid_ 7$sink_(7) set fid_ 7$ns_ attach-agent $node_(9) $tcp_(7)$ns_ attach-agent $node_(5) $sink_(7)$ns_ connect $tcp_(7) $sink_(7)$tcp_(7) set window_ 32$tcp_(7) set packetSize_ 1400set ftp_(7) [$tcp_(7) attach-source FTP]$ns_ at 314 "$ftp_(7) start"set stime_(7) 314## 1 connecting to 4 at time 325#set tcp_(8) [new Agent/TCP]set sink_(8) [new Agent/TCPSink] $tcp_(8) set fid_ 8$sink_(8) set fid_ 8$ns_ attach-agent $node_(1) $tcp_(8)$ns_ attach-agent $node_(4) $sink_(8)$ns_ connect $tcp_(8) $sink_(8)$tcp_(8) set window_ 32$tcp_(8) set packetSize_ 1400set ftp_(8) [$tcp_(8) attach-source FTP]$ns_ at 325 "$ftp_(8) start"set stime_(8) 325## 0 connecting to 2 at time 303#set tcp_(9) [new Agent/TCP]set sink_(9) [new Agent/TCPSink] $tcp_(9) set fid_ 9$sink_(9) set fid_ 9$ns_ attach-agent $node_(0) $tcp_(9)$ns_ attach-agent $node_(2) $sink_(9)$ns_ connect $tcp_(9) $sink_(9)$tcp_(9) set window_ 32$tcp_(9) set packetSize_ 1400set ftp_(9) [$tcp_(9) attach-source FTP]$ns_ at 303 "$ftp_(9) start"set stime_(9) 303## 57 connecting to 43 at time 319#set tcp_(10) [new Agent/TCP]set sink_(10) [new Agent/TCPSink] $tcp_(10) set fid_ 10$sink_(10) set fid_ 10$ns_ attach-agent $node_(57) $tcp_(10)$ns_ attach-agent $node_(43) $sink_(10)$ns_ connect $tcp_(10) $sink_(10)$tcp_(10) set window_ 32$tcp_(10) set packetSize_ 1400set ftp_(10) [$tcp_(10) attach-source FTP]$ns_ at 319 "$ftp_(10) start"set stime_(10) 319## 48 connecting to 44 at time 301#set tcp_(11) [new Agent/TCP]set sink_(11) [new Agent/TCPSink] $tcp_(11) set fid_ 11$sink_(11) set fid_ 11$ns_ attach-agent $node_(48) $tcp_(11)$ns_ attach-agent $node_(44) $sink_(11)$ns_ connect $tcp_(11) $sink_(11)$tcp_(11) set window_ 32$tcp_(11) set packetSize_ 1400set ftp_(11) [$tcp_(11) attach-source FTP]$ns_ at 301 "$ftp_(11) start"set stime_(11) 301## 50 connecting to 58 at time 330#set tcp_(12) [new Agent/TCP]set sink_(12) [new Agent/TCPSink] $tcp_(12) set fid_ 12$sink_(12) set fid_ 12$ns_ attach-agent $node_(50) $tcp_(12)$ns_ attach-agent $node_(58) $sink_(12)$ns_ connect $tcp_(12) $sink_(12)$tcp_(12) set window_ 32$tcp_(12) set packetSize_ 1400set ftp_(12) [$tcp_(12) attach-source FTP]$ns_ at 330 "$ftp_(12) start"set stime_(12) 330## 51 connecting to 52 at time 311#set tcp_(13) [new Agent/TCP]set sink_(13) [new Agent/TCPSink] $tcp_(13) set fid_ 13$sink_(13) set fid_ 13$ns_ attach-agent $node_(51) $tcp_(13)$ns_ attach-agent $node_(52) $sink_(13)$ns_ connect $tcp_(13) $sink_(13)$tcp_(13) set window_ 32$tcp_(13) set packetSize_ 1400set ftp_(13) [$tcp_(13) attach-source FTP]$ns_ at 311 "$ftp_(13) start"set stime_(13) 311## 46 connecting to 41 at time 315#set tcp_(14) [new Agent/TCP]set sink_(14) [new Agent/TCPSink] $tcp_(14) set fid_ 14$sink_(14) set fid_ 14$ns_ attach-agent $node_(46) $tcp_(14)$ns_ attach-agent $node_(41) $sink_(14)$ns_ connect $tcp_(14) $sink_(14)$tcp_(14) set window_ 32$tcp_(14) set packetSize_ 1400set ftp_(14) [$tcp_(14) attach-source FTP]$ns_ at 315 "$ftp_(14) start"set stime_(14) 315## 55 connecting to 53 at time 312#set tcp_(15) [new Agent/TCP]set sink_(15) [new Agent/TCPSink] $tcp_(15) set fid_ 15$sink_(15) set fid_ 15$ns_ attach-agent $node_(55) $tcp_(15)$ns_ attach-agent $node_(53) $sink_(15)$ns_ connect $tcp_(15) $sink_(15)$tcp_(15) set window_ 32$tcp_(15) set packetSize_ 1400set ftp_(15) [$tcp_(15) attach-source FTP]$ns_ at 312 "$ftp_(15) start"set stime_(15) 312## 70 connecting to 74 at time 304#set tcp_(16) [new Agent/TCP]set sink_(16) [new Agent/TCPSink] $tcp_(16) set fid_ 16$sink_(16) set fid_ 16$ns_ attach-agent $node_(70) $tcp_(16)$ns_ attach-agent $node_(74) $sink_(16)$ns_ connect $tcp_(16) $sink_(16)$tcp_(16) set window_ 32$tcp_(16) set packetSize_ 1400set ftp_(16) [$tcp_(16) attach-source FTP]$ns_ at 304 "$ftp_(16) start"set stime_(16) 304## 72 connecting to 78 at time 329#set tcp_(17) [new Agent/TCP]set sink_(17) [new Agent/TCPSink] $tcp_(17) set fid_ 17$sink_(17) set fid_ 17$ns_ attach-agent $node_(72) $tcp_(17)$ns_ attach-agent $node_(78) $sink_(17)$ns_ connect $tcp_(17) $sink_(17)$tcp_(17) set window_ 32$tcp_(17) set packetSize_ 1400set ftp_(17) [$tcp_(17) attach-source FTP]$ns_ at 329 "$ftp_(17) start"set stime_(17) 329## 71 connecting to 65 at time 335#set tcp_(18) [new Agent/TCP]set sink_(18) [new Agent/TCPSink] $tcp_(18) set fid_ 18$sink_(18) set fid_ 18$ns_ attach-agent $node_(71) $tcp_(18)$ns_ attach-agent $node_(65) $sink_(18)$ns_ connect $tcp_(18) $sink_(18)$tcp_(18) set window_ 32$tcp_(18) set packetSize_ 1400set ftp_(18) [$tcp_(18) attach-source FTP]$ns_ at 335 "$ftp_(18) start"set stime_(18) 335## 67 connecting to 68 at time 314#set tcp_(19) [new Agent/TCP]set sink_(19) [new Agent/TCPSink] $tcp_(19) set fid_ 19$sink_(19) set fid_ 19$ns_ attach-agent $node_(67) $tcp_(19)$ns_ attach-agent $node_(68) $sink_(19)$ns_ connect $tcp_(19) $sink_(19)$tcp_(19) set window_ 32$tcp_(19) set packetSize_ 1400set ftp_(19) [$tcp_(19) attach-source FTP]$ns_ at 314 "$ftp_(19) start"set stime_(19) 314## 79 connecting to 62 at time 318#set tcp_(20) [new Agent/TCP]set sink_(20) [new Agent/TCPSink] $tcp_(20) set fid_ 20$sink_(20) set fid_ 20$ns_ attach-agent $node_(79) $tcp_(20)$ns_ attach-agent $node_(62) $sink_(20)$ns_ connect $tcp_(20) $sink_(20)$tcp_(20) set window_ 32$tcp_(20) set packetSize_ 1400set ftp_(20) [$tcp_(20) attach-source FTP]$ns_ at 318 "$ftp_(20) start"set stime_(20) 318## 73 connecting to 64 at time 306#set tcp_(21) [new Agent/TCP]set sink_(21) [new Agent/TCPSink] $tcp_(21) set fid_ 21$sink_(21) set fid_ 21$ns_ attach-agent $node_(73) $tcp_(21)$ns_ attach-agent $node_(64) $sink_(21)$ns_ connect $tcp_(21) $sink_(21)$tcp_(21) set window_ 32$tcp_(21) set packetSize_ 1400set ftp_(21) [$tcp_(21) attach-source FTP]$ns_ at 306 "$ftp_(21) start"set stime_(21) 306## 27 connecting to 20 at time 333#set tcp_(22) [new Agent/TCP]set sink_(22) [new Agent/TCPSink] $tcp_(22) set fid_ 22$sink_(22) set fid_ 22$ns_ attach-agent $node_(27) $tcp_(22)$ns_ attach-agent $node_(20) $sink_(22)$ns_ connect $tcp_(22) $sink_(22)$tcp_(22) set window_ 32$tcp_(22) set packetSize_ 1400set ftp_(22) [$tcp_(22) attach-source FTP]$ns_ at 333 "$ftp_(22) start"set stime_(22) 333## 33 connecting to 34 at time 308#set tcp_(23) [new Agent/TCP]set sink_(23) [new Agent/TCPSink] $tcp_(23) set fid_ 23$sink_(23) set fid_ 23$ns_ attach-agent $node_(33) $tcp_(23)$ns_ attach-agent $node_(34) $sink_(23)$ns_ connect $tcp_(23) $sink_(23)$tcp_(23) set window_ 32$tcp_(23) set packetSize_ 1400set ftp_(23) [$tcp_(23) attach-source FTP]$ns_ at 308 "$ftp_(23) start"set stime_(23) 308## 22 connecting to 29 at time 328#set tcp_(24) [new Agent/TCP]set sink_(24) [new Agent/TCPSink] $tcp_(24) set fid_ 24$sink_(24) set fid_ 24$ns_ attach-agent $node_(22) $tcp_(24)$ns_ attach-agent $node_(29) $sink_(24)$ns_ connect $tcp_(24) $sink_(24)$tcp_(24) set window_ 32$tcp_(24) set packetSize_ 1400set ftp_(24) [$tcp_(24) attach-source FTP]$ns_ at 328 "$ftp_(24) start"set stime_(24) 328## 32 connecting to 24 at time 307#set tcp_(25) [new Agent/TCP]set sink_(25) [new Agent/TCPSink] $tcp_(25) set fid_ 25$sink_(25) set fid_ 25$ns_ attach-agent $node_(32) $tcp_(25)$ns_ attach-agent $node_(24) $sink_(25)$ns_ connect $tcp_(25) $sink_(25)$tcp_(25) set window_ 32$tcp_(25) set packetSize_ 1400set ftp_(25) [$tcp_(25) attach-source FTP]$ns_ at 307 "$ftp_(25) start"set stime_(25) 307## 35 connecting to 21 at time 339#set tcp_(26) [new Agent/TCP]set sink_(26) [new Agent/TCPSink] $tcp_(26) set fid_ 26$sink_(26) set fid_ 26$ns_ attach-agent $node_(35) $tcp_(26)$ns_ attach-agent $node_(21) $sink_(26)$ns_ connect $tcp_(26) $sink_(26)$tcp_(26) set window_ 32$tcp_(26) set packetSize_ 1400set ftp_(26) [$tcp_(26) attach-source FTP]$ns_ at 339 "$ftp_(26) start"set stime_(26) 339## 26 connecting to 31 at time 332#set tcp_(27) [new Agent/TCP]set sink_(27) [new Agent/TCPSink] $tcp_(27) set fid_ 27$sink_(27) set fid_ 27$ns_ attach-agent $node_(26) $tcp_(27)$ns_ attach-agent $node_(31) $sink_(27)$ns_ connect $tcp_(27) $sink_(27)$tcp_(27) set window_ 32$tcp_(27) set packetSize_ 1400set ftp_(27) [$tcp_(27) attach-source FTP]$ns_ at 332 "$ftp_(27) start"set stime_(27) 332
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -