[ns] Floating Point exception

2012-05-29 Thread Halen Smith
Hi Guys: I am trying to run the following code using ns-2.35 in obuntu 10.04 and it says "Floating Point Exception", any one with a better suggestion: #Open the NAM trace file set tf1 [open out.tr w] $ns trace-all $tf1 set nf1 [open out.nam w] $ns namtrace-all $nf1 # open the Trace file #Defi

[ns] Congestion Window Dilemma

2012-06-08 Thread Halen Smith
Hi Guys, Good Morning I am trying to visualize cwnd plot in gnuplot in obuntu 10.04. I want to see the sawtooth display in time(x-axis) and packet (y-axis) but instead I am getting a different waveform. Can some body modify it according to sawtooth waveform. I shall be grateful. Below is my co

[ns] Fw: Get Mobilenode object from Mac

2012-06-19 Thread Halen Smith
Hi Guys, How can I control ssthresh_ in a scenario where I want to visualize two nodes with different tcp agents. SOurce is tcp/newreno and sink is tcpsink. By controlling ssthresh_ ,i mean that if i change the value of ssthresh_ and plot this kind of wave against time. Then I should be able