[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Re: ErrorModel not working



Hi,
    The command for the error-model given in ns-documentation under the 
chapter "ErrorModel" is not working. Could anyone explain the reason for it?

---------------
ns_duplex $r1 $r2 1.5Mb 50ms drop-tail
set em [new ErrorModel]
$em set rate_ 0.01
$em drop-taget [new Agent/Null]
ns_lossmodel $em $r1 $r2

and I am getting the error as:

Invalid command name ns_lossmodel $em $r1 $r2
while executing
ns_lossmodel $em $r1 $r2

Also, I dont see 'link.cc' in the ns directory. Is it not ported yet?

thanking you,

truly,
Srinivas kurla



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com