[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions!
Hello,
I am sorry for my questions. Although I have not completed ns Notes
and Documentation, I can not help asking some questions.
I have read some parts of the documentation above, but I could not
understand where "target_" has been set. I find in some ns program, it
is not needed to specially set target_. I do not know "target_"
expresses the next hop node or the final destination. From some
programs, I feel it should mean the next hop node.
However, in page 57, "$newtcp target $dest" implies it should be the
final destination.
Additionally, I try to install RSVP/ns. When I re-compiling ns,
there is such error information below:
...
rsvp-link.cc:71: call of overloaded `recv(Packet *&, int)' is ambiguous
object.h:51: candidates are: NsObject::recv(Packet *, const char *)
object.h:48: NsObject::recv(Packet *, Handler *)
..
The line 71 is: "target_->recv(p, 0);"
I do not know what is wrong with it. It should call
" NsObject::recv(Packet *, Handler *)".
So, what is wrong with line 71?
Thanks anyway!
Sun Kai