sir,
When i am running below tcl script it gives error:"Flow 1
starts at time 0.00
Segmentation fault (core dumped)"
but in other tcl script is work better than below tcl
script...
I am not understand what error in below tcl scrip
Yes, that solved the problem , thank you very much.
From: Leo Sánchez
To: ns-users@ISI.EDU
Sent: Wednesday, June 22, 2011 8:57 PM
Subject: Re: [ns] Error in Tcl script
Try defining the process this way:
proc discover_ferry { src dst now index } {
global
Try defining the process this way:
proc discover_ferry { src dst now index } {
global ns_ node_
...
...
...
}
Hope it helps!
Leo Sánchez
El 22/06/2011 16:48, Mohamed Ibrahim Salman escribió:
> Hi,
>
> This error appear when I try to invoke discover_ferry{} function
>
>
>
> ns: discover_ferr
Hi,
This error appear when I try to invoke discover_ferry{} function
ns: discover_ferry 1 13 0.00 3 : can't read "node_(1)": no such
variable
while executing
"$ns_ attach-agent $node_($src) $udp_($index)"
(procedure "discover_ferry" line 6)
invoked from within
"discover_