[ns] Performing several runs of same simulation

2006-07-10 Thread schwab
Hello, we try to perform several runs of the same simulation and can't find a hint in the manual how to manage this. Is there a possibility to do it by a for (; numberOfRuns;) or an other tcl-method? Or should we simply write a shell script calling our tcl file several times? Thanks in advance

Re: [ns] want information about assert() function

2006-07-10 Thread Hai Nam
On 7/10/06, K.R.Sathya Prakash <[EMAIL PROTECTED]> wrote: > > Can anybody please help me to know something about the > assert() function. I think it takes an integer > argument. I saw its profuse use in mac-802_11.cc > Please relpy asap > KRSP > Hi, assert() function take a boolean as the argume

[ns] how to simulate sensor networks wih ns2.28

2006-07-10 Thread Srirupa Dasgupta
Dear friend, Can any one tell me ow to simulate sensor networks on ns2.28. Do I have to download some other package. Also I cannot find any .tcl find to run in the ns2.28/sensor-net directory . Waiting fervently for some reply so that I can start with sensor nets Regards Srirupa

Re: [ns] Performing several runs of same simulation

2006-07-10 Thread Daniel Mahrenholz
[EMAIL PROTECTED] schrieb: > we try to perform several runs of the same simulation and can't find a hint in > the manual how to manage this. > Is there a possibility to do it by a for (; numberOfRuns;) or an other > tcl-method? > Or should we simply write a shell script calling our tcl file sever

[ns] help on packmime in ns-2.29

2006-07-10 Thread sorin pasa
Hi, does anyone know how to use Packmime in ns-2.29? I found patches only for ns-2.27 and ns-2.28. Please help. Have a very nice day!!! - Yahoo! Music Unlimited - Access over 1 million songs.Try it free.

[ns] An example of simulating sensor networks on ns2.28

2006-07-10 Thread Srirupa Dasgupta
Dear friend, what I found from your mail is that you have simulated a sensor network protocol on ns2.28. I cannot simulate any file in sensor-net folder. can you help me simulate a query region in a sensor network. Please help Srirupa

[ns] problems in running the simulator

2006-07-10 Thread Deep Malya Mukherjee
dear users, I have installed ns-2.29 in red hat linux 9.0. after the installation and validation process is completed, when I am trying to run the tcl script by giving the command ns Westwood.tcl ,the following error is encountered bash: ns :command not found . I have set all the path that

Re: [ns] want information about assert() function

2006-07-10 Thread Matthew Faulkner
Assert is a method that takes an int and checks for errors If you do a quick google then you can find loads of information on it i.e. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_assert.asp On Mon, 2006-07-10 at 06:36 +0100, K.R.Sathya Prakash wrote: >

[ns] Loss Models with DCCP/TCPlike Agent

2006-07-10 Thread ijaz haider naqvi
Dear all,I am encountering a problem with ns loss models... The problem is: The uniform / Markovian loss model works very well with UDP agent But when I try to use these loss models with DCCP/TCPlike Agent it does not works properly. It gives a lot more loss than expected

[ns] ns2 extension for MAC 802.15.3

2006-07-10 Thread Mathilde Noe
Hi, I'm trying to simulate 802.15.3 MAC protocol with ns2 (cygwin + ns-2.26) I success to compile ns2 with the extension for MAC 802.15.3 of Mustafa Demirhan (link: http://www.macroangel.com/nslast.zip ) I have already checked that the MPEG4 generator is working. But when I try to simulate the

Re: [ns] want information about assert() function

2006-07-10 Thread Nicola Baldo
Hai Nam wrote: > assert() is usually used for debugging purpose. I think we can turn > off this function in a "released version" but I don't know how :-( From the man page of assert(): "If the macro NDEBUG was defined at the moment was last included, the macro assert() generates no code, and

[ns] How to count no of pkts recved

2006-07-10 Thread Vijay Ghorpade
Hi all, I am working on a project using ns-2.28. In that i wanted to count the no. of pkts received/dropped by a particular node in consideration during the time when ns is running and not after the execution of the tcl script. Can someone help me? Thanks in advance. Vijay  

[ns] BS vs. Nodes TX Range

2006-07-10 Thread Abdulaziz Barnawi
Hi All, I have been looking for a solution on how to set a TX range for a Base Station that is different (e.g. much larger) from other nodes in the network. Unfortunately all the solutions I have tried will set the same TX range for all nodes including BS. I would really appreciate if any on

Re: [ns] How to count no of pkts recved

2006-07-10 Thread Thomas Kunz
> > Hi all, > I am working on a project using ns-2.28. In that i wanted to count the > no. of pkts received/dropped by a particular node in consideration > during the time when ns is running and not after the execution of the > tcl script. > Can someone help me? > Thanks in advance. >

[ns] recompiling problem

2006-07-10 Thread Talal Shwehdi
Hi I have changed and modified in the code of the Ping and the AODV files, and after replacing the old ping/aodv by the new ones, I wanted to recompile the ns2, but it seams like it did not replace the old files,even though that I did the following steps: ./configure make clean, Make depe

[ns] Getting an " Undefined reference to: " ERROR while doing make

2006-07-10 Thread Nicholas Loulloudes
Hello, I have added two virtual functions in agent.h and app.h which i use in a new UDP agent and UDP application that i have created. I have added the function - virtual void recv_msg(int nbytes, int id, double sendtime) in app.h - virtual void sendmsg(int nbytes, int pkt_id, double s