[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem running nam-example.tcl
> > > I encounter this error while running nam-example.tcl
> >
> > not sure which version of the script you're running, the script runs fine
> > with me... may be you need to add the following command to your script:
> > Simulator set NumberInterfaces_ 1
> >
> > just before the line:
> >
> > set ns [new MultiSim]
>
> That's not in any tcl/ex/nam-example.tcl I've seen, all-in-one or
> otherwise; they all contain the NumberInterfaces line prior to
>
> set ns [new Simulator]
>
> but do not contain any reference to [new MultiSim].
you are probably correct, the version I have is the first allinone
released, which had some artifacts like 'MultiSim',...
this was not the focus of my email [the interface stuff was]... however,
Simulator would work just fine if you set the EnableMcast_ flag.
thanks for your remark,
Regards,
-A
>
> Surely the MultiSim stuff in tcl/mcast/ns-mcast.tcl is only for
> backwards compatibility, and since Simulator is the superclass that's
> what's normally used?
>
> Is my understanding correct?
>
> thanks,
>
> L.
>
> <http://www.ee.surrey.ac.uk/Personal/L.Wood/>PGP<[email protected]>
>
>
>
>
>
>