The NS manual has a pretty good section on Otcl/C++ linkage, which should be able to help answer your question. In general there is a corresponding C++ object for each Otcl object you create in your script. You can grep the source code for the Otcl name, like "Agent/UDP".
Scott On 2/11/07, safaa matter <[EMAIL PROTECTED]> wrote: > > how to write new tcl command in the TCL file and make implementation to it > the C++ files? > the problem is that i don`t know which C++ file that i modify. > > thanks; >