[ns] debugging ns-2.33 in eclipse

2011-06-12 Thread Ella Taha

Dear friends
I am trying to debug ns-2.33 with eclipse CDT(Helios Service Release 2). I
have added the ns folder as a new project to the eclipse. the build runs
without error and I have set my tcl file as an argument to the run
configuration. when I run, I can see the tcl file running with no problem
and the output is displayed. However, when I set some breakpoints and hit
the debug, it doesn't stop at those points and what happens, is exactly the
same as when running the project resulting in no debug outputs!
I would really appreciate if anyone can help me!
thanks

p.s I have already added the following lines to the makefile:
CCOPT = -g
DEFINE = -DNDEBUG
DEFINE = -DDEBUG


Ella


[ns] packets drop IFQ END, please it's urgent

2011-06-12 Thread Mohamed Ibrahim Salman


Why packets are dropped because IFQ END, I extend the simulation time but the 
problem still exist, Why do packets still in IFQ and not forwarded to 
destination?

I also increase the size if IFQ in TCL simulation script. How to forward the 
packets from IFQ?


Re: [ns] AW K programms

2011-06-12 Thread RamiHach


hi mohamad,
and Dear all,
please can you show me, to calculate the throughput, how can I add only the
data packet without adding the control paquet in awk file? I am using tcp
agent and ftp/cbr application.
my awk file give me a high value of throughput

please help

Mohammed wrote:
 
 
 Hi,
 
 About the first point: you need to check your simulation environment and
 parameters and try to simulate these protocol with simple simulation
 scenarios.
 About the second point: because I need to remove the size of the packet
 header from the received packet, so I need exactly to know how the size of
 header.
 
 All the Successes,
 Mohammed AbuHajar
 Palestine Territory, Occupied.
 
 
 
 
 
 
 From: hajer h g.ha...@gmail.com
 To: mcs...@yahoo.com
 Sent: Monday, January 5, 2009 1:04:41 AM
 Subject: AWK programms
 
 
 hello i am working with ns2..
 and i am loocking for some awk programme that calculate the average
 throughput, e-2-e delay, NRL and PDF...for all protcol AODV OLSR DSR
 DSDV...
 can you help me in this way...
 i have tried
 http://mailman.isi.edu/pipermail/ns-users/2007-August/060808.html those
 programme i didn't understand why they gives 0 for such protocol like DSR
 or DSDV...
 i have anothers questions : about the avearge thtoughut : why did you
 subtrain  512 ...did you calcul the average throughput for TCP traffic???
 thanks in advance...
  
  
 
 
 -- 
 
 Somewhere, something incredible is waiting to be known.
 
 
   
 
 

-- 
View this message in context: 
http://old.nabble.com/Re%3A-AWK-programms-tp21298109p31831401.html
Sent from the ns-users mailing list archive at Nabble.com.