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

[ns] cmd not being executed



Hi Haabo,

I am facing the following problem when I try to execute a cmd in my 
simulation

    (_o14 cmd line 1)
    invoked from within
"$self cmd start-up"
    (procedure "_o14" line 2)
    (Agent/s2vDvmrp start-up line 2)
    invoked from within
"$s2vmrtObject_ start-up"
    (procedure "_o11" line 14)
    (Node/s2vMrouter enable-s2vmcast line 14)
    invoked from within
"$node enable-s2vmcast $self"
    invoked from within
"if [$self s2vmulticast?] {
puts "Hurrah !! our multicast has been enabled"
$node enable-s2vmcast $self
}"
    (procedure "_o4" line 36)
    (Simulator node line 36)
    invoked from within
"$ns node"


I have a C++ command which I want to call after from my otcl script
creates the object.

I am eagerly awaiting your reply.

Thanks and regards,
Sudhin.

****************** Sudhindra Suresh Bengeri *******************
School:                       | Home:                         |
Dept. of Computer Science     | 2502, Avent Ferry Rd          |
NCSU, Raleigh, NC.            | Apt #206, Raleigh, NC - 27606 |
Ph. 919 515 7135(TA room)     | Ph. 919 838 8746              |     
my web projection: http://www4.ncsu.edu/~ssbenger