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

Re: [ns] A question



I don't think that will work . please check out the examples in

loss-monitor.cc
tcl/ns-agent.tcl

Kun-chan Lan
 

Dear every one,

i want to ask a question?

suppouse that i define a method in a file named x.cc
( eg.

void TcpSink::accc() {
....... etc..

}
)

and i want to invoke this method (accc()) from
another file named y.cc my question can i do that if i
write the following line in the file y.cc :

                tcl.eval(acc());

*************

if yes please just confirm ,if not i hope to fing a guide or answer.

thank you.
best regards,

hope to hear from you soon.

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

-- 


_____________________________________________________
Kun-chan Lan
Computer Science, University of Southern California
4915 Sawtelle Blvd #2, Culver City, CA 90230
http://www.isi.edu/~kclan
(H)310-391-7208  (O)310-448-8260