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

new agent



I would like to create a new agent and attach it to a node.
In particular:

    set  n1 [$ns node]
    set a1  [new Agent/HELLO]
     $n1 attach $a1

results in

    _o13
    _o17
    error when calling class Agent/HELLO: target _o14

I create the agent as it is described in chapter "Agents". How do I fix
the problem?

Thanks very much.

--LAMZOUKI