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

Re: [ns] Location of TCP Clock granularity Initialisation



I think it's done in delay_bind_dispatch which is invoked in (see tcp.cc and Tcl.cc )

Kun-chan Lan
 

>Since TCP now uses delay binding by default, it's the call in
>delay_bind_init_all() that actually ends up doing the work.

Okay, so TclObject invokes this method to initialise the variables.  How do you
bind a C++ variable with a different name, though?  For example, compare these
two:

bind("tcpTick_", tcp_tick_);

delay_bind_init_one("tcpTick_");

>From what your saying, these are doing the same thing - but to which C++
variable does delay_bind_init_one(char*) bind the OTcl variable to?

Sven.

-- 


_____________________________________________________
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