[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: Re: [ns] tcp simulation]
-------- Original Message --------
Subject: Re: [ns] tcp simulation
Date: Tue, 3 Apr 2001 13:10:10 -0700 (PDT)
From: [email protected]
To: [email protected]
References: <010001c0bc77$c4f514e0$389909ca@heretic>
<[email protected]>
Welcome to the ns-users mailing list!
<snip> that thing is way too long <snip>
----------------------------------------
>From [email protected] Tue Apr 3 13:10:09 2001
<snip>
From: Tarik Alj <[email protected]>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.8 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
To: Ankur Jain <[email protected]>, [email protected]
Subject: Re: [ns] tcp simulation
References: <010001c0bc77$c4f514e0$389909ca@heretic>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Precedence: bulk
ftp over udp? i don't think so...
117 set cbr0 [new Application/FTP]
118 $cbr0 set packet-size 200
119 $cbr0 set burst-time 2s
120 $cbr0 set idle-time 1s
121 $cbr0 set rate 200k
122 $cbr0 attach-agent $udp0
123
124 set tcp0 [$ns create-connection TCP/Reno $node0 TCPSink $nodex
0]
125 $tcp0 set window_ 15
126
127 #final connection between udp source and final sink
128 $ns connect $udp0 $sink0
129
130 set ftp0 [$tcp0 attach-app FTP]