[ns] problem installation of NIST module

2008-04-17 Thread amira maiz
hi ns users, i have installed the NIST module "mobility packet for ns2" but i met some problems like when i recompile by writing ./configure make clean make that show error!!! like $ ./configure configure: error: cannot find sources (ns_tclsh.cc) in . or .. in fact i use yhe "Visual Studio"

[ns] How to trace contention window

2008-04-17 Thread andrew.hy
Hi all, Can anyone help me trace the contention window in wireless scenario. I have tried the following two ways: 1. in the file of "mac-802_11.cc", add "bind("cw", &cw_);" to Mac802_11::Mac802_11() 2. (1) in the file of "mac-802_11.h", add a function "inline void get_cw() {pri

[ns] wired cum wireless [segmenation error]

2008-04-17 Thread [EMAIL PROTECTED]
hello I m trying to run a simple wired cum wireless problem. but its giving segmenation error can anyone suggest how can i get rid of that error ? I m sending my code. set ns [new Simulator] set num_wired_nodes 2 set num_mobile_nodes 1 set num_bs_nodes 1 ;# number of ba

[ns] ENC: routing protocols for DTNs

2008-04-17 Thread Cristina Moreira Nunes
Hello all, I am studying routing protocols for DTNs and I'd like to know where can I find the implementation of PRoPHET and Spray and Wait routing protocols for ns2? Thanks in advance, Cristina

[ns] Determining Header Packet size in TCP Vegas vs Newreno

2008-04-17 Thread remqnguyen
Hi, my name is Remy and I'm student in the computer science department Cal State Fullerton. As you guess, this is NS2 question but actually TCP Vegas one. A classmate of mine claims that that TCP Vegas omits the header for the total packet size and TCP New reno does include the header with

[ns] how to bind static variables

2008-04-17 Thread abdullah qawasmeh
Hi All, How can I bind static class variables, so that I can access them from TCL code? Regards, Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: [ns] ns-simple.tcl does not exist?

2008-04-17 Thread ashfiquac
Hi, Make sure that you are in the right directory. Regards, Ashfiqua On 4/17/2008, "Maslinda Mat Sharif" <[EMAIL PROTECTED]> wrote: > > Hello, > >I am a newbie in NS-2 and Linux. >I downloaded an example from http://nile.wpi.edu/NS/ >I tried to start a simple simulation example >"ns-simple.tc

[ns] help to implement AOMDV scenario

2008-04-17 Thread pejman
Dear, How can i implement simple aomdv scenario like below: *** * ** source* * destination * * * ** * Here stars(*) are interm

Re: [ns] Implementing AOMDV in cygwin envirement

2008-04-17 Thread Marcello Caleffi
> Dear , > Is it any way to implement aomdv in cygwin, after patching > aomdv.diff and using "./configure ;make clean;make " there are > errors like below: > > aomdv/aomdv.cc: In member function `void AOMDV::recvReply(Packet*)': > aomdv/aomdv.cc:1235: error: `AF_INET' undeclared (first use

[ns] Diffserv for MANETs

2008-04-17 Thread Mohammad Haseeb Zafar
Any implementation of Diffserv for MANETs in ns2? Cheers

[ns] Bidirectional traffic

2008-04-17 Thread Bilal T.
hi everyone, i set a bidirectional cbr application traffic between two nodes n0 and n19 this way: set udp0 [new Agent/UDP] set sink19 [new Agent/Null] $ns_ attach-agent $node_(0) $udp0 $ns_ attach-agent $node_(19) $sink19 $ns_ connect $udp0 $sink19 set cbr0 [new Application/Traffic/CBR] $cbr0 se

[ns] How to change transmission rate in wireless simulations

2008-04-17 Thread abdullah qawasmeh
Hi all, how can I change the data transmission rate and delay for wireless nodes in NS? and what are the default values?. Thank you... Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.