[ns] Where do i find the main function

2007-05-01 Thread adithya b
Hello everyone, I am Adithya, i am working of the Ad-hoc wireless networks. I have implimented an algorithm which finds the payment for each and every imtermediate node that participates in the communication. This implimented code has to be put in the existing DSDV protocol. Now my problem is i

[ns] Recieved Signal Strength

2007-05-01 Thread Tareq Hmaidat
subject : Recieved Signal Strenght. Hi everybody, Does anyone know how to implement RSSI in NS2 ? [EMAIL PROTECTED] Regards. Tareq. _ Express yourself instantly with MSN Messenger! Download today it's FREE!

[ns] regarding segmentation fault(core dumped) in sendmsg() function

2007-05-01 Thread Anuradha
hello ns-users I am having a problem in understanding a statement $udp0 sendmsg 0 Hello 0 It calls the sendmsg() function of UDPAgent class in udp.cc file, like, if (strcmp(argv[1], sendmsg) == 0) { PacketData* data = new PacketData(1 + strlen(argv[3])); strcpy((char*)data-data(),

Re: [ns] problem: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2007-05-01 Thread Timo Reimann
Anuradha wrote: did you find the solution of Classifier no-slot problem. I am also having the same problem. Actually, I once had this very problem as well. Happened to me when I was extending UdpAgent to allow connect-on-demand functionality and I had not given the address in proper format

[ns] ns-2 FAQ

2007-05-01 Thread Tom Henderson
The Network Simulator ns-2: Frequently Asked Questions Note: This FAQ is now available at the project wiki: http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ _The mailing is is now subscriber only---please see the FAQ entry on How do I post to the mailing list? Why was my

[ns] Phy/WirelessPhy Segmentation Fault

2007-05-01 Thread Elena Putzolu
hi ns-users, I work with ns-2.30 and Mw-Node patch (for interfaces/multiple channels). When I try to write in ns: % set phy_a [new Phy/WirelessPhy] the result is: Segmentation Fault. Someone knows to tell me, why happens this? Any help would be highly appreciated. Thanks Elena

[ns] OSPF support

2007-05-01 Thread Ioannis Papanagiotou
Hello NS2 users, Does anyone one if NS2 supports OSPF and if yes where are the files with the source code in order to alter it? Thanks in advance Ioannis

Re: [ns] regarding sendmsg() in udp.cc

2007-05-01 Thread Timo Reimann
Hello Anuradha, Anuradha Sehgal wrote: Sorry to mail you personally. I got your mail id from ns-users list. Please don't address me personally, always use the mailing list. Other people might have the same problem as you and will be glad you find any help available through the mailing list

Re: [ns] OSPF support

2007-05-01 Thread Augusto Neto
The NS-2 implementation supports OSPF Link State. The file is LS.cc, and you can find in the routing folder. Regards, Augusto -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Ioannis Papanagiotou Enviada: terça-feira, 1 de Maio de 2007 14:57 Para:

Re: [ns] Tracing code

2007-05-01 Thread Song Luo
gdb. If you want a graphic interface, eclipse with CDT plug-in might work too. On 4/30/07, Mohammed Abu Hajar [EMAIL PROTECTED] wrote: Dear NS-Users, How can I do tracing for my code execution in ns-2 simulator, like in c language , i was press on F7 key and trace my c code line by line ,

[ns] error while executing qaodv routing protocol

2007-05-01 Thread dorababu
Hi, I made some changes in aodv.cc for adding qos extention in aodv protocol. after that i type make command in the konsole to check the protocol.But i am getting following error expected primary-expression before '.' token , i am unable to find the problem. any help regarding this very

Re: [ns] error while executing qaodv routing protocol

2007-05-01 Thread Timo Reimann
dorababu wrote: I made some changes in aodv.cc for adding qos extention in aodv protocol. after that i type make command in the konsole to check the protocol.But i am getting following error expected primary-expression before '.' token , i am unable to find the problem. any help

Re: [ns] error while executing qaodv routing protocol

2007-05-01 Thread Mohammed Abu Hajar
Yes I am now working also at providing AODV QoS extensions , I am face this error , so make sure that you define and put your defined function in the correct place. *.h file for define variables - *.cc for implementation code . also you can trace your code by using pintf statement like :

[ns] Fwd: how i can use mac-null on ns-2.1b7a

2007-05-01 Thread أحمد حموده
Hello, Did you can help me to port the Mac/Null class to ns-2.1b7a? how can I got it(download it use it) I would be interested. It's a nice MAC layer which ignores collisions and contentions, and can have an infinite bandwidth. -- thanks in advance, ahmad -- Express

[ns] code for CDMA ad hoc networks

2007-05-01 Thread Arta Doci
Hi All, Does anyone have a working code for CDMA ad hoc networks? I would appreciate some help! Regards, Arta Doci PhD Student Colorado School of Mines http://carbon.cudenver.edu/~adoci _ Express yourself

[ns] [help] How to simulate intermittent link in wireless

2007-05-01 Thread Bo Fu
Hi, I want to use ns-2 to simulate some special wireless scenario. But the scenario requires random link-up and link-down. For example, two node are still in the transmission range. But the one node randomly failed (the random can be some distribution, such as gaussian). And this link-down lasts

[ns] [ns2] vector use in ns2

2007-05-01 Thread Jack Yang
Hi ,every user I have a urgent question here. When I used the vector in ns2 and declared like this: vectorstring vecstring; and the errors appear below: error: use of `vector' is ambiguous mobile/god.h:79: error: first declared as `class vector' here