Dear All,
I need to simulate SHORT LIVED FLOWS and LONG LIVED FLOWS and BURSTY TRAFFIC
in NS2.
When I searched through the ns2 mailing list I have got the following reply
+++++++++++++++++++++++++++++++++++++++++++++++
you can use the tcp command "advanceby $num_pkts" to control how many
packets to transfer.
On Mon, 5 Jan 2004, Inge Hartono wrote:
> Hi all,
>
> How to run short (10 packets) and long TCP(1000 packets) flows through ns,
so I could compare the result of both?
> I found that Asym is a good place to start, but when I looked through the
example tcl code from /tcl/ex/asym/ directory, it's just overwhelmed.
>
> Could someone please tell me a simple code to implement it?
>
> Thanks alots,
> Inge
--
Xuan Chen
USC/ISI
+++++++++++++++++++++++++++++++++++++++++++++++
But when I tried above solution I have got the following error i.e., just by
including this line it shows error..........the error is......
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o38: no target for slot -1
_o38 type: Classifier/Hash/Dest
content dump:
classifier _o38
0 offset
0 shift
2147483647 mask
1 slots
slot 2: _o53 (Classifier/Port)
-1 default
---------- Finished standard no-slot{} default handler ----------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
can any one answer, where to include this line? and could you please kindly
send any code in which 'advanceby' is used?
Thanks in advance.
Regards,
M. N. Kishore Babu.