CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 06:15:13 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=93e615bca9dd6b450b893419f20da3a10c5c87a466beda2f7be578a517407414a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22YylPoNQl23ZHnZUl_QMvlAENsCpg4Qip%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cc38c3f9798cf1-BLR
set ns [new Simulator]set tf [open lab3.tr w]$ns trace-all $tfset nf [open - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set ns [new Simulator]
- set tf [open lab3.tr w]
- $ns trace-all $tf
- set nf [open lab3.nam w]
- $ns namtrace-all $nf
- set n0 [$ns node]
- $n0 color "magenta"
- $n0 label "src1"
- set n1 [$ns node]
- set n2 [$ns node]
- $n2 color "magenta"
- $n2 label "src2"
- set n3 [$ns node]
- $n3 color "blue"
- $n3 label "dest2"
- set n4 [$ns node]
- set n5 [$ns node]
- $n5 color "blue"
- $n5 label "dest1"
- $ns make-lan "$n0 $n1 $n2 $n3 $n4" 100Mb 100ms LL Queue/DropTail Mac/802_3
- $ns duplex-link $n4 $n5 1Mb 1ms DropTail
- set tcp0 [new Agent/TCP]
- $ns attach-agent $n0 $tcp0
- set ftp0 [new Application/FTP]
- $ftp0 attach-agent $tcp0
- $ftp0 set packetSize_ 500
- $ftp0 set interval_ 0.0001
- set sink5 [new Agent/TCPSink]
- $ns attach-agent $n5 $sink5
- $ns connect $tcp0 $sink5
- set tcp2 [new Agent/TCP]
- $ns attach-agent $n2 $tcp2
- set ftp2 [new Application/FTP]
- $ftp2 attach-agent $tcp2
- $ftp2 set packetSize_ 600
- $ftp2 set interval_ 0.001
- set sink3 [new Agent/TCPSink]
- $ns attach-agent $n3 $sink3
- $ns connect $tcp2 $sink3
- set file1 [open file1.tr w]
- $tcp0 attach $file1
- set file2 [open file2.tr w]
- $tcp2 attach $file2
- $tcp0 trace cwnd_
- $tcp2 trace cwnd_
- proc finish { } {
- global ns nf tf
- $ns flush-trace
- close $tf
- close $nf
- exec nam lab3.nam &
- exit 0
- }
- $ns at 0.1 "$ftp0 start"
- $ns at 5 "$ftp0 stop"
- $ns at 7 "$ftp0 start"
- $ns at 0.2 "$ftp2 start"
- $ns at 8 "$ftp2 stop"
- $ns at 14 "$ftp0 stop"
- $ns at 10 "$ftp2 start"
- $ns at 15 "$ftp2 stop"
- $ns at 16 "finish"
- $ns run
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Online Marketplace Exploit ✅ NEVER SEEN BE...
JavaScript | 2 sec ago | 0.24 KB
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 12 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 21 sec ago | 0.24 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 31 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 42 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 53 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 1 min ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 1 min ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand