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

Re: [ns] agent id/addr



i guess you have to add you own code. 

one possible thing to do is this: add a replicator and write tcl code to
connect several agents to this replicator ..... 

debo

On Sun, 9 Sep 2001, Clara King wrote:

> Hi there,
> 
> I see agents can be connected in tcl using 
> "$ns connect $ag1 $ag2", so that later on "send(p,0)"
> can be invoked in c++ to send a packet between the 2
> agents.
> 
> What should I do if I want to send a packet (from A)
> to a set of agents? Should I connect A to all these
> agents in tcl first? And then how can we specify the
> destination address in send? Please help.
> 
> Thanks in advance,
> 
> Clara
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
>