[ns] Address/Port of an agent
Tue, 23 Jan 2001 22:30:40 -0800 (PST)
here_ is set from otcl, when an agent is attached to a node
dst_ is set in your tcl script (because only you knows where this agent
should send to), e.g., $agent set dst_addr_ ...
On Tue, 23 Jan 2001, Laurent Silvio Ciavaglia wrote:
> Hello everyone,
> I have a question regarding the attribution of the address/port of an
> In agent.h, it is written
> ns-addr_t here_ ; // address of this agent
> ns-addr_t dst_ ; // destination adress for packet flow
> I would like to know how are the variables here_ and dst_ set ?
> I tried to check in agent.h - .cc, ns-agent.tcl, ... but I did not
> manage to clearly find how are these variables set.
> Anyone can help ? please...
> Regards, Laurent.