[ns] making ns2 to write to an output file

2006-03-30 Thread nalinaksh gaur
Hi everybody, I am trying to make ns2 to write some statistics to an output file. I am writing the following code in some c++ file inside the ns2 directory : #include using namespace std; ofstream a_file ("example.txt"); a_file<<"This text will now be inside of example.txt"; a_file.cl

[ns] Help needed on RSVP !

2006-03-30 Thread Deepti C
Hi all! IS any of u ppl working on RSVP using NS-2??? If so, then do send me some example codes or some links where I can get some direction about where shd I start 4m?? Thanks in advance, Deepti. - Jiyo cricket

[ns] routing outside the subnet.

2006-03-30 Thread sxroy1
under the dsdv.cc file there is a function which drops the packet if its destined for outside the given subnet, the function is as follows: DSDV_Agent::diff_subnet(int dst) { char* dstnet = Address::instance().get_subnetaddr(dst); if (subnet_ != NULL) { if (dstnet

[ns] Need Help in simulating Bi-MAC protocol

2006-03-30 Thread Nagender Annem
Hi, Iam new to ns-2 and I dont know where to start for the simulations to be done. Actually I dont know where I can find the source code of MAC implementing bidirectional-MAC. I installed ns-2,26 modified version for bi-MAC. Can any one help me, how to get to know the things, Even I am trying to

[ns] error reading file cbr-3-test

2006-03-30 Thread Alexandra Cioroianu
Hello everybody! I am having a problem trying to run wireless1.tcl and i get this error message: couldn't read file "../mobility/scene/cbr-3-test": no such file or directory while executing "source.orig ../mobility/scene/cbr-3-test" ("uplevel" body line 1) invoked from within "u

[ns] help for slotted aloha simulation

2006-03-30 Thread rakesh reddy
Hi all, Has anyone done slotted aloha simulation for wired and wireless networks? Could someone plz help me out in this regard. I need to give poisson arrival as input. Looking forward for some help. Thanks in advance with regards K.Rakesh Reddy

[ns] is "address_" the routing address of a node?

2006-03-30 Thread Ghirmay Desta
I have added the following code in the OTcl implementation of Node. Node instproc set-address addr { $self instvar address_ set address_ $addr } During simulation I am using it to change the address of a node. Eventhough the node address is getting changed to new value, the nod

[ns] Path Environment For Root User

2006-03-30 Thread hamid reza
Hi, How can I set path environment in linux redhat 9? and have sure from my true setting of path environment? I installed ns2.18ba for Root user. best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection aro

Re: [ns] doubt in MAC layer implementation of NS2.28 for wireless

2006-03-30 Thread Mohammad Zubair Ahmad
The check_pktCTRL(), check_pktRTS() and the check_pktTx() are the outgoing packet functions which actually put the packets on to the channel. You will notice they call the transmit function from them .. Zubair On 3/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi NS-users, > > C

[ns] Pareto distribution problem in wireless scenario

2006-03-30 Thread michelenuti
Hi, I've noted that in NS version 2.26, the Pareto distribution only works = in wired scenarios, but not in wireless scenarios. Does anybody knows why and how to solve the problem? Thanks a lot, Michele

Re: [ns] help reg DSR implementation in ns-2.28

2006-03-30 Thread David Fuste
Hi Rakesh, NS2 already has one implementation of DSR (~ns2/dsr/) but if you want some help try this: http://masimum.dif.um.es/?Documents Bye! rakesh reddy wrote: >Hi, > Can anyone help me out in implementation of DSR for >wireless network. Please suggest some tutorials >related to this. >

[ns] help reg DSR implementation in ns-2.28

2006-03-30 Thread rakesh reddy
Hi, Can anyone help me out in implementation of DSR for wireless network. Please suggest some tutorials related to this. Thanks in advance with regards K.Rakesh Reddy __ Yahoo! India Matrimony: Find your partner no

[ns] SIP HELP

2006-03-30 Thread Deeya Nursimloo
Hi there, I am working on ns2 for my project simulating MIP and SIP and I am still a novice in the field. Can u plz help me with the following : REGISTER sip:3 SIP/2.0 Cseq = 0 --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o32: no target for slot 0 _o32 type