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

Re: [ns] Re: ErrorModel not working



On Thu, 22 Jun 2000, Srinivas Kurla wrote:

>     The command for the error-model given in ns-documentation under the 
> chapter "ErrorModel" is not working. 

That's an amazing leap, since...

> 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]

... that should be 'drop-target', yes? and...

> ns_lossmodel $em $r1 $r2

...it's 

$ns lossmodel $em $r1 $r2

Your problems are trivial typos.

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

ported from what?

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>