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

Re: question



I am kind of lost here. I am looking into mip.cc and particularly function
MIPencapsulator::recv, where out of the blue we get:

int te = atoi(tcl.result());

Obviously, whatever is returned here by tcl.result has got to do with a
preceeding statement to the tcl interpreter. How can I find out what that
is?

Please excuse all the ignorant questions as I am a newbie to ns.

Thanks in advance,

nick


----- Original Message -----
From: Yuri Pryadkin <[email protected]>
To: Nick A. Fikouras <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, June 08, 1999 11:14 PM
Subject: Re: question


> "Nick A. Fikouras" <[email protected]> writes:
>
> > int foo =3D Address::instance().get_nodeadd(hdr->dst());
> >
> > int bar =3D atoi(tcl.results());
> >
> > Consider the above two statements. After both have been executed with =
> > the turn presented shouldn't foo and bar contain the same thing? That =
> > is, since tcl.results retrieves the result of the preceding statement =
> > which is then converted to int and stored in bar. Is my conclusion =
> > correct?
>
> But the preceding statement doesn't have anything to do with Tcl
> interpreter, does it?