[ns] Question about member variable Agent::here_

Andy_gmail tianlangeff at gmail.com
Tue Jul 17 11:11:42 PDT 2007


Hi all guys

I have a slight question about class Agent's member variable "here_"(declared in file Agent.h), it's type is "ns_addr_t". This variable is used in many files, including class Agent and it's child class in a form of "here_.addr_". But I didn't find "here_" is initialized or assigned a value anywhere, so how can a agent gain it's own address?

Have I missed some codes when I read the source code? Please give a clue, thanks in advance!

Yours,
Andy


More information about the Ns-users mailing list