[ns] TCL code for GAF

2008-08-06 Thread Biswa Mohan Acharya
Dear friends Any one having the tcl files for GAF protocol please send me so that I can proceed with the simulation. The ns package has gaf.h & gaf.cc files. But to start the simulation I think the tcl scripts are required. If any one have any other suggestion for starting the simulation for GAF,

[ns] Problem with mobility module ns-2.29 developed by NIST

2008-08-06 Thread rafi ullah
In case of Horizontal or Vertical Handover it gives a throughput exactly what i am going to transmit. i.e at WLAN i receive a throughput of 80 Mbps exactly that i am going to transmit. which is impossible in real because WLAN does not support a throughput of 80 Mbps. It also happen with UMTS a

[ns] ns-2.26 installation problem

2008-08-06 Thread Iyad Tumar
Dear all, i am in need to install ns-2.26 and i am trying to install ns-2.26 on ubuntu and i got the following error. n file included from tclcl.h:48, from Tcl.cc:47: tclcl-mappings.h: In static member function ‘static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int,

[ns] Error: no-slot{} default handler

2008-08-06 Thread Siraj Shaikh
Hi I am trying to run a simulation on ns-2 and this is an error I get (please see message below). Please help!!! Thanks [EMAIL PROTECTED]:~/ns-allinone-2.33/ns-2.33$ ns exfilt.tcl --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o49: no target for slot -1 _o49

[ns] tcl: random operator

2008-08-06 Thread Siraj Shaikh
Hi I am wondering if there is anyway to introduce a random assignment of nodes in the tcl? I am trying to schedule a simulation where I have a list of nodes, only one or a few of them would be scheduled to initiate some traffic. Now is it possible to choose this single (or a few) node(s) from th

[ns] traffic inconsistency in simulation

2008-08-06 Thread Siraj Shaikh
Hello I am new to using ns-2 and have a few questions about getting my simulations right. Any feedback/comments would be helpful. 1) In a particular topology of the network, I scheduled a particular node to send lots of identical (TCP) traffic to various nodes (infact all other nodes on the netw

[ns] output trace file problem

2008-08-06 Thread Iyad Tumar
Dear all, i am trying to run ns tcl file on ns-2.31. i can run the script without problems, but i got empty trace file. NOTE the same file is working fine on ns-2.26 and give result. do you have any idea ? any help if you please Best Iyad

[ns] how i can Determine the first function in mac protocol to run?

2008-08-06 Thread reza mohammadi
hello I design new mac protocol and i want to determine a function taht run first how i can determine a special function that when i use the new mac protocol it function run first and other function run after . can any body help me? thanks best regards