[ns] trouble in executing wireless examples

2009-03-08 Thread hARI nARAYAN sANADHYA
sir i have tried to execute wireless1.tcl file and have got following error *$ ns wireless1.tcl$ * num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Loading connection pattern... couldn't read file ../mobility/scene/cbr-3-test: no

[ns] Introducing delay before routing packet delivery

2009-03-08 Thread Syed Md. Ashraful Karim
Hi I want to add some delay before forwarding some types routing packet in ns-2, i.e. in the Agent's send_packet() function which eventually call the Scheduler for a packet dispatch. e.g. A node should delay say for 50 microsecond before the packet delivery. I want to add delay in C++ code to my

[ns] How to change node configuration when simulation is running?

2009-03-08 Thread simayeji
Hello everyone, I want to change the node configuration when simulation is running. For example, i want to change RXthreshold of all nodes at 2.5s. How can I make it in my tcl script? thanks very much. 网易邮箱,中国第一大电子邮件服务商