What's the difference among atttach-agent and connect?

It's look like the connect is about 2 agents, and the attach-agent is about
node and agent. It's correct!?

I'm experiencing the message above, it always implies with all lines with
"connect", so I'm doing something wrong. Any tip will be appreciated

can't read "agent_addr_": no such variable
    while executing
"subst $[subst $var]"
    (procedure "_o19" line 5)
    (SplitObject set line 5)
    invoked from within
"$dst set agent_addr_"
    (procedure "_o3" line 2)
    (Simulator simplex-connect line 2)
    invoked from within
"$self simplex-connect $src $dst"
    (procedure "_o3" line 9)
    (Simulator connect line 9)
    invoked from within
"$ns connect $udp($i) $s($i)"
    ("for" body line 10)
    invoked from within
"for {set i 0} {$i < $numeroNodos} {incr i} {
        set udp($i) [new Agent/UDP]
        $udp($i) set packetSize_ 512
        $udp($i) set fid_ ($i)
        set cbr($i) [new Appl..."
    (file "renata.tcl" line 89)

Thanks, Renata
-- 
Renata Vidal
"Triste é o destino de quem tenta vencer as batalhas e ter sucesso nos
ataques sem cultivar o espírito da iniciativa (A Arte da Guerra – SUN TSU –
pg 102)"

Reply via email to