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

Re: [ns] Bugs in NS and other questions...



zTarik Alj wrote:

<<snip>>

most default values are in tcl/lib/ns-default.tcl


That was quite helpful, thanks. That answered quite a number of my questions.

Unfortunatly, this isn't working still:


>
> >
> >Even more frustrating is the seeming lack of ability to connect the
> >Traffic object to an agent. Given in the docs to be:
> >
> >$agent attach-traffic traffic-object
> >
> >But totally not working when I do this:
> >
> >set noiseServer [new Agent/TCP/Newreno]
> >$noiseServer attach-traffic [new Traffic/Pareto]

I've tried several different variations, including newing a traffic agent and
assigning it to the noise server, and changing the Agent/TCP/Newreno to other
things. It keeps giving me the same error,

   (_o43 cmd line 1)
    invoked from within
"_o43 cmd attach-traffic _o20"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o43" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$noiseServer attach-traffic $trafficAgent"

...

Thanks for the help already.
 -Will