[ns] how to use/install a new protocol???

Douglas Restrepo lucas_max2002 at yahoo.es
Tue Jun 17 15:32:34 PDT 2008


hello

as i said previously, i am working in a new protocol (made in C) and now i want to install this protocol over ns to make a call in this way

set val(rp)    aodv

i have copied my files in the ns directory but when i compile some tcl file i have a lot of error,

i must to compile some additional code or i only have to copy my cc and h files to the ns directory???


because when i put 

    set val(rp) my_protocol

i get a lot of mistakes, it is just like to uses        set val(rp) x (where x is  any  word) 


i think that i don't have my protocol linked with the ns.

What i have to do?

Thanks

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

hola

estoy trabajando en un nuevo protocolo, y ahora quiero "instalarlo" en ns para poder llamarlo desde mis archivos en la forma

set val(rp)        aodv

tengo que compilar algun codigo adicional o solo tengo que copiar los archivos cc y h al directorio ns???

cuando declaro

set val(rp) my_protocol

obtengo muchos errores, es como si declarara set val(rp) x (donde x es cualquier palabra)

tengo que enlazar mi protocolo con el ns2???

que tengo que hacer?

Gracias


      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.



More information about the Ns-users mailing list