[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] slot -1 error
Actually here I have two questions regarding to agent.
in agent.cc,
/*
* This function is a placeholder in case applications want to dynamically
* connect to agents (presently, must be done at configuration time).
*/
void Agent::connect(nsaddr_t dst)
{
dst_.addr_ = dst;
}
originally , this function is commented, however, I want to use it to
dynamically send packet to the destination. Can I do it in current
version?
another thing is in old ns version, the address is nsaddr_t, however,
now it uses ns_addr_t,which includes a port number, is it okay to ignore
the setting of port when I call the connect function?
thanks a lot
Sencun
On Mon, 19 Jun 2000, Tarik Alj wrote:
> could be one or the other. Unless you are using another routing scheme than the
> default SPF, it would more probably come from agent classifier.
>
> >Date: Mon, 19 Jun 2000 13:07:10 -0400 (EDT)
> >From: Sencun Zhu <[email protected]>
> >To: Tarik Alj <[email protected]>
> >cc: [email protected], [email protected]
> >Subject: Re: [ns] slot -1 error
> >MIME-Version: 1.0
> >
> >Thanks you.
> > it comes from classifier_, I wonder in ns how can my code brings this
> >kind of error, from routing or agent?
> >
> >
> >Sencun
> >On Mon, 19 Jun 2000, Tarik Alj wrote:
> >
> >> Could it come from the Classifier_? usually it's "no target for slot -1".
> Here
> >> it seems it's the intsproc no-slot (Classifier) that seems to be passed to
> many
> >> arguments. See tcl/lib/ns-lib.tcl.
> >>
> >> >Date: Fri, 16 Jun 2000 23:58:17 -0400 (EDT)
> >> >From: Sencun Zhu <[email protected]>
> >> >To: [email protected]
> >> >Subject: [ns] shot -1
> >> >MIME-Version: 1.0
> >> >
> >> >Hello, can anybody give some hints about such error when I run my
> >> >c++ and Tcl script. I can not debug into it when I use gdb, what
> >> >is likely the cause for it?
> >> >
> >> >
> >> >
> >> >ns: _o2318 no-slot -1: called "_o2318" with too many arguments
> >> > (Classifier no-slot line 1)
> >> > invoked from within
> >> >"_o2318 no-slot -1"
> >> >
> >> >
> >> >
> >> >thanks you
> >> >
> >> >Sencun
> >>
> >> Tarik
> >>
> >>
>
> Tarik
>
>