[ns] can't read ragent_: no such variable

2008-07-22 Thread Luís Barreto

Hi,

I'm using DSR routing protocol in a wired-cum-wireless simulation and
am having the following problem:
can't read ragent_: no such variable
while executing
subst $[subst $var

Could you please tell how to set up this variable and solve this
problem?

I got this problem for a long time and couldn't solve it. I´ve
searched and no one says the solution

Thanks for your help.


Luís

[ns] how i solve this errorno class variable Mac/NewMac::bandwidth_

2008-07-22 Thread reza mohammadi

hello
i design new mac protocol
my new protocol base class inherite from Mac class
 when i use it follow error ocured and i can't test it
no class variable Mac/NewMac::bandwidth_
no class variable Mac/NewMac::delay_
no class variable Mac/NewMac::abstract_
no class variable Mac/NewMac::full_duplex_mode_
can any body  help me?
thanks


  


[ns] Reply to ragent_ question

2008-07-22 Thread Mubashir Rehmani

Hello

You can declare ragent_ for instance in your tcl script like this:

set ragent_($i) [$node_($i) set ragent_]
$ns at $var $ragent_($i) Myfunction

Then in your tcl script you can also have the ragent_ reference like this:

puts mubashir $ragent_(0)
puts mubashir $ragent_(1)

And you can have access to this ragent_ in either you AODV.cc or DSR.cc
protocol by utilizing it by defining Myfunction in command

AODV::command(int argc, const char*const* argv) {

if(strncasecmp(argv[1], Myfunction, 2) == 0) {
//do what ever you want
}
  return TCL_OK;
}

Hope it helps

Regards

-- 
Mubashir Husain Rehmani

Mobile : 00 33 (0)6 32 00 89 35


[ns] MIMO With NS2

2008-07-22 Thread Mohamed Hajjjjjj

Hi ns-users,


Can any one help me how I found a patch or documentation for simulate MIMO 
networks with ns-2.

Thank you very much


 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[ns] Fw: info.

2008-07-22 Thread mohamed saad



--- On Wed, 7/23/08, mohamed saad [EMAIL PROTECTED] wrote:

From: mohamed saad [EMAIL PROTECTED]
Subject: info.
To: nsusers ns-users@isi.edu
Date: Wednesday, July 23, 2008, 12:22 AM







 
salam alikom
can you help me
when i simulated aodv or dsdv or dsr it gives this error:
 
iNITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
end simulation
could you tell me how solve this error

allregards
gazak allah khairn



  


[ns] HMIPv6 in ns2.28

2008-07-22 Thread Vinicio Guanochanga


Hi users
 
 
Do you know if exists any patch for HMIPv6 in ns2.28
 
 
thaks,,
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE


[ns] How to implement TCP-F or TCP-ECN-ELFN

2008-07-22 Thread Claudia Medeiros

Hello ns-users,
 
I want to improve TCP performance in ad hoc networks, using some solutions like 
TCP-F or TCP-ECN-ELFN. Could someone explain me how to implement this solutions 
in NS? 
Thanks!
 
Claudia


  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses

[ns] duplex-link function

2008-07-22 Thread Haider Abbas

hi ns users
i want to implement the IEEE 802.3 protocol in between nodes connected in r=
ing topology. and want to use my mac802-3.cc between nieghbouring nodes.how=
to=A0modify duplex-link function so that it accomodate mac802 protocol.
thanks

Haidersa

Korea
 
 


  


Re: [ns] Fw: how i can run new mac protocol in ns

2008-07-22 Thread Jalaluddin Qureshi

Dear Reza,Create a new folder in the ns2.xx folder and place your .cc and .h 
file in that folder.Go to the makefile, and add this (folder name)/(your .cc 
file name, with .o postfix)\  after OBJ_CC = \ but before $(OBJ_STL).Once 
thats done, save your makefile. And run  the command make clean, then make 
depend, and finally make.If no error are reported after the make command, 
then this means, your .cc and .h files have no error. And therefore a .o file 
will be created in your folder after you have run make command. Your new mac 
protocol is now ready to be used.
 
Jalaluddin Qureshi
Nanyang Technological University
http://www.cemnet.ntu.edu.sg--Forwarded Message Attachment--From: [EMAIL 
PROTECTED]: [EMAIL PROTECTED]: Mon, 21 Jul 2008 19:09:23 -0700Subject: [ns] Fw: 
how i can run new mac protocol in nshelloi design a new mac protocol and i 
want to implement it in nsbut i can't.i can't use makefile command for this 
protocol.my problem is that i write the .h and .cc file for new protocol but i 
can't implement this protocol in nsplease help methanksreza mohammadi   
_
Easily publish your photos to your Spaces with Photo Gallery.
http://get.live.com/photogallery/overview