[ns] TCL Code
* QOS-A Novel Multipath Routing* *Algorithem Protocol For Ad Hoc Networks* Algorithm QAMRouting() 1. Create nodes by allocating bandwidth randomly. 2. Set transmission range of each and every node i . 3. Initialize cache tables with their range nodes and initially allocated bandwidth. 4. Select destination from source node i. 5. Flood RREQ(SrcID,ReqID,DestId,QoS,Nutilization) to all neighbor nodes of node i 1. For each node j do Calculate available bandwidth of node j If(RREQ.QoS AvailableBW of node j) Descard the RREQ Else If(node j is equal to RREQ.Destid) Send RREP to source node i Goto 8. Else callWait(0.1) //allow many/all the RREQ’s to reach the node j If more then one RREQ’s which has same *SrcID ReqID* , Chose the RREQ which has the least Nutilization Calculate node j’s Nutilization If(RREQ.NutilizationNutilization of node j) RREQ.Nutilization Nutilization of node j //Update RREQ // Record the route in the cache j table Append node j in the “path” string and update cache j 1. Goto step 5 2. Send RREP to the Source 3. Start Communication Send data from source to destination through the reliable path computed earlier. Anybody please provide the tcl scripting code for the above mentioned algorithm . I tried a lot but my script isn't providing the decided result. so, please do provide the tcl code Thanking you Regards Rajeev N B
[ns] tcl code for aodv
hai, has anyone got tcl code for aodv supporting the store and forward scenario for 10 mobile nodes showing the xgraph and nam file packet transmission windows as outputs. my version of ns2 is 2.33 .if yes can anyone please send me. thankyou. judah
[ns] Tcl code for communication between 2 wirless node.
Hi all; i need a tcl code of communication between 2 nodes. Mac/802.11 tcpSink - xtcp n0 n1 n2 n0 is a mobile and n1 is a base station n2 is the source and n0 the receiver. Please it's urgent Thank you.
[ns] tcl code
hi all, can u tell me what this line do ? # creation of the MutiFaceNodes $ns node-config -multiIf ON ;#to create MultiFaceNode set multiFaceNode [$ns node 4.0.0] $ns node-config -multiIf OFF $multiFaceNode add-interface-node $iface1 set tcp_(0) [new Agent/TCP/FullTcp] $multiFaceNode attach-agent $tcp_(0) $iface1 ;# the interface is used for sending set app_(0) [new Application/TcpApp $tcp_(0)] puts App0 id=$app_(0) i don't understand the line : $multiFaceNode attach-agent $tcp_(0) $iface1 usually we use $ns attach-agent $tcp(0) $interface No?? best regards .
Re: [ns] TCL code for WiFi simulation
Hi! I am a new user of NS2. I want to simulate the Wifi scenario and want to analyze the performance of WiFi on increase in number of nodes. The nodes are sending data like VoIP and video-conferencing. i want TCL code for this scenario. How will i analyze the trace file using AWK? Thanks!
[ns] TCL code for WiFi simulation
Hi! I want to simulate the Wifi scenario and want to analyze the performance of WiFi on increase in number of nodes. The nodes are sending data using VoIP. i want TCL code for this scenario. How will i analyze the trace file using AWK? Thanks!
[ns] tcl code execution in c++
hi to all.. i have toexecute the some tcl code through c++ code... i have to make a condition in classifier.. and if the condition satisfies i have to execute some tcl code.. how to do this.. please help me in detail.. thanks in advance
[ns] TCL code for GAF
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 amp; 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, kindly let me know. Regards Biswa
[ns] tcl code for wireless network
can anyone send me the tcl code for power management or adaptive routing in wireless networks.