[ns] programming logic

kunchanl kunchanl@pollux.usc.edu
Tue, 23 Jan 2001 06:46:40 -0800 (PST)


ns uses tclcl to bind tcl and c++ together.

Kun-chan Lan

On Mon, 22 Jan 2001, Kai Li wrote:

> Hi,
> 
> When I create a new Application/FTP object, the following steps happen:
> 
> It calls init method of Application/FTP, then in the init method,it calls the 
> constructor of superclass. Since its superclass (Application) is a c++ class,how 
> does the control in tcl script transfer to C++ class? As my understanding, now 
> the application is also call its c++ constructor and do some initialization. Is 
> it right? Thanks for any advice..
> 
> regards,
> K Li
>