[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ECN problem!
Zutong -
>> Could anybody tell me the setting for ECN is correct?
>...
>>$tcp1 set ecn_ true
>From Kannnan:
>I would think that this means that ecn_ is an integer, and
>hence you cannot specify true as a setting for it.
I just changed
bind("ecn_", &ecn_);
to
bind_bool("ecn_", &ecn_);
in tcp.cc, so that you can now set ecn_ either as true/false or
as 0/1.
The ECN web page ("http://ftp.ee.lbl.gov/floyd/ecn.html")
also points to a few validation tests in ns-2 that use ECN;
when you are not sure of tcl syntax, the validation tests
in ns-2/tcl/test and examples in ns-2/tcl/ex should often help.
- Sally