[ns] problem regarding MAODV implementation

2008-03-05 Thread Sheraz Nadeem
Hi all i am using ns-2.31 and i am having problem regarding the implementation of MAODV. i am trying to achieve multicasting in AODV. i am having the error which is ///ERROR/// ./ns ns.tcl 01 10 1 num_nodes is set 50 INITIALIZE THE

[ns] 'cout' doesnt print on the console

2008-03-05 Thread jimit shah
I have 3 linked files - 'ourapp.tcl', 'ourapp.h' and 'ourapp.cc' . I have included all the necessary files in my .cc file, including iostream.h . But the 'cout' statements dont get printed onto the console. Can someone help me get around the problem? If 'cout' doesnt work, what command can be

Re: [ns] 'cout' doesnt print on the console

2008-03-05 Thread Nur Aini Rakhmawati
Hi, Perhaps there is any IF condition that make it could not print your file You could test it by putting cout on your constructor file Suppose your constructor function in ourapp.cc is ourapp:ourapp() { cout hello Aini :Dendl; } --- Nur Aini Rakhmawati http://nuraini.net/

[ns] Error: Cannot convert int to FILE* - File pointer error

2008-03-05 Thread jimit shah
With the following code in my '.cc' file, I'm getting a file pointer error saying that Cannot convert int to FILE*. I have also attached the screenshot of the error. Please help me get around the problem ASAP. I'm working on ns-2.27 on RedHat Linux 9.0 platform. following are the lines of code :

[ns] Obstacle Objects simulation in ns-2

2008-03-05 Thread nadir shah
hi all, I am simulating urban scenario of vanet routing protocols considering obstacles, like building etc. Can any body guide me how to include do it in ns-2? Waiting for reply Nadir Shah Send instant messages to your online friends

[ns] TFRC headerSize 32bytes ?

2008-03-05 Thread ILMO JUNG
Hi, While checking TFRC's header size, I found it was 32 bytes. I guess, in that 32 bytes, IP header(20bytes) and UDP(8bytes) headers are included. If my guess is correct, what is the remaining 4 bytes? Thank you in advance! -Il Mo Jung

[ns] trouble with bind

2008-03-05 Thread Stankiewicz Bredkjaer
Hello everybody, i have some problems with the bind function when used to bind variables I've defined. i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer variables, which I've binded in the constructor like this: bind(timeOut_, timeout_); bind(warnTime_, warntime_); after

[ns] Problem with adding a new agent...

2008-03-05 Thread samaneh rastegari
Hi all, Actually I am trying to add a new Agent and I did all steps according to ns-2 manual but now when I am trying to access this Agent in my tcl script I come to this error: invalid command name Agent/UDP/dns_server while executing Agent/UDP/dns_server create _o36 invoked from

[ns] about telent

2008-03-05 Thread shweta s k
hello, can anybody tell me how to use the telnet application for tcp connection,i tried but it does not supporting.please help me. Looking for last minute shopping deals? Find them