[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Address/Port of an agent
here_ is set from otcl, when an agent is attached to a node
(tcl/lib/ns-node.tcl, Node::agent{})
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
> agent.
> 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.
>