Use the following code:
# setup a tcp connection across the n8-n18 link
# create a new tcp agent called tcp818
set tcp818 [new Agent/TCP]
# Set the source to be node n8
$ns attach-agent $n(8) $tcp818
# create a new TCP sink agent called sink
set sink818 [new Agent/TCPSink]
# set the sink to be
With reference to this issue I created a small website of my results:
http://www.the-levster.com/NS2/NS2.html
I hope this clears up some confusion for other users as the ErrorModels
do not clearly state what they do in the documentation.
I have included my code on this site just in case I've
Hi,
I have came across an odd issue that has gone against what I thought was
normal UDP behaviour.
I have set up a network as follows:
12
OO
I set up Node 1 to be a UDP source and Node 2 to be a UDP Sink. I then
created an 80Mb CBR stream with a packet size of 1472B that would start