Re: [ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Mubashir Rehmani
Hi Tatiana Polishchuk To control the UDP flow, you need to make some ammendments in the udp.cc and udp.h files. See the following links: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc.htm http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc-source.htm http://www-rp.lip6.fr/ns-doc/ns226-do

Re: [ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Mubashir Rehmani
Hi Tatiana Polishchuk To control the UDP flow, you need to make some ammendments in the udp.cc and udp.h files. See the following links: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc.htm http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc-source.htm http://www-rp.lip6.fr/ns-doc/ns226-do

[ns] Answer to your question regarding segmentation fault

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, There is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you delete in

[ns] Answer to your question regarding segmentation fault

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, There is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you delete in

Re: [ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Arturo Servin
On 12 Sep 2008, at 09:50, Tatiana Polishchuk wrote: > > Hi, > > I need to add some logic to the source of UDP flow. For each packet > I need > to make a decision whether to send it to one path or another. > Could anybody point me to an appropriate example or give an I idea > where in > the T

[ns] How to create DEMfiles?

2008-09-12 Thread Rafiq Shaikh
Hi All, I am trying to create a multi-hop wireless topology. I plan to use DEMfiles to create a topology. I looked at the NS manual but could not find much details on how to create DEMfile. Is there any document or any information on how to create a DEM file? Any help or pointers would be of gr

[ns] SIMUTools'09: Call for papers

2008-09-12 Thread Claudio Cicconetti
(Our apologies if you receive multiple copies of this message) SIMUTools 2009 Second International Conference on Simulation Tools and Techniques March 2-6, 2009 - Rome (Italy) http://www.simutools.org ++ Sponsore

[ns] several sinks on single node

2008-09-12 Thread Abdelhak Farsi
Hi there, I assume that in 802.11 WLAN working in infrastructure mode, I have a base station sending different TCP streams to a single wireless station ( each stream is distinguished by the size of the packets sent and each stream represent a single application), my question is : Is it possible to

Re: [ns] regarding simulation of TORA

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, This may be useful to you. http://article.gmane.org/gmane.network.simulator.isi/2766/match=segmentation +fault Hi, there is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from wit

[ns] regarding simulation of TORA

2008-09-12 Thread Geetha
Dear Ns-Users, Now when I simulate the TORA routing protocol I get the error as "segmentation fault core dumped" but when I run the program "test-suite-wireless-lan-tora.tcl" it executes correctly. Any help in this regard would be of great help for me. Looking forward for ur reply. Thanking you

[ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Tatiana Polishchuk
Hi, I need to add some logic to the source of UDP flow. For each packet I need to make a decision whether to send it to one path or another. Could anybody point me to an appropriate example or give an I idea where in the TCL script should I add this code (which code, again?) Please, give me an i