------------------------------------------------
Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga
------------------------------------------------
Phone: (+34) 952 13 33 03
------------------------------------------------
Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-------------------------------------------------

----- Mensaje reenviado ----
De: Jamal Toutouh <[EMAIL PROTECTED]>
Para: NS-users list <ns-users@isi.edu>
Enviado: jueves, 21 de febrero, 2008 16:57:44
Asunto: [ns] binding variables

Hello all,

I have develop a new app layer over udp. I know how to bind INPUT VARIABLES, 
but I don't know how to do to return values to read the in my tcl simularion 
file.

I have written the next code:

// Constructor (also initialize instances of timers)
VDTPapp::VDTPapp() : running_(0), snd_timer_(this), ack_timer_(this)
{
  bind("chunk_size_", &chunk_size_);
  bind("file_size_", &file_size_);
  bind("pktsize_", &pktsize_);
}

chunk_size_, file_size_, and pktsize_  are input variable, can someone tell me 
how
can I bind OUTPUT variables.

Thank you...


------------------------------------------------
Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of
 Malaga
------------------------------------------------
Phone: (+34) 952 13 33 03
------------------------------------------------
Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-------------------------------------------------




                
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com





       
______________________________________________ 
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome

Reply via email to