[ns] How to congest a node to make delay packets forwarding?

2011-03-17 Thread Ahmad
Hi Guys I really need help in this one. I am unable to simulated a congested network. I keep increasing the packets sent from node A to node B but I see always my packets that are going from source to a destination (who sits on path A--B) to arrive at the same time. I expect them to arrive

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-17 Thread Ns Learner
printf works! I had two copies of ns and I made changes to one of them. The PATH variable was pointing to the original ns folder. Whereas, I wanted to test the result of the changes made in the ns-copy folder. When I gave, ns file1.tcl, the original ns pointed out by PATH was being used.

[ns] Which Component of ns access traffic files

2011-03-17 Thread hemang kothari
Hi All I want to know which component or cc file of NS access the traffic files. for example mobilenode.cc or other ??? Thanks

[ns] Can anyone help me in executing the following program with 30 nodes?

2011-03-17 Thread sree ram
There was a hardware failure in my system. So i cant execute the above code in my system. please someone execute the above code using ns-2 and send me the trace file and nam file which r created during the execution of the program. Its urgent i hv to submit the report next week. I hv attached

[ns] increase queue delay

2011-03-17 Thread Ahmad
Hi all, Is there a way (or a module or a website I can look at it) to increase the delay of queue at a node by a specific value? If I increase the delay of the queue, will packets timestamps reflect that (meaning packets will arrive later)? Thank you

Re: [ns] Drop packet!!!!!

2011-03-17 Thread Teerawat@UBC
Hi Mohammed, That's correct. Only the object whose class derives from class Connector can call the function drop(p). However, there are a lot of class like this, e.g., queues, agents. Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/

[ns] [NS ANS] Re: Send and Receive in NS2

2011-03-17 Thread Teerawat@UBC
Hi Mohammed, I suggest you to read the following blog post to understand how TCP sends packets. http://www.ns2ultimate.com/post/1255914139/tcp-transmitter-in-a-nutshell Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/