[ns] New MAC protocol

2007-06-08 Thread Samir Salman
I have written a MAC protocol, and update some files like the packet.h and the ones that we usually update if we were writing a new agent. However when i wrote the corresponding TCL after I recompliled ns2 i get an error saying Mac/mymac undefined command!! Is there any special file i should

Re: [ns] New MAC protocol

2007-06-08 Thread Hai T. Vu
In your mymac.cc file, you need to define a Tcl class, say MacMyMacClass, which is derived from TclClass. This class is in fact very simple, just to let Tcl know that you have an object named Mac/mymac. After this, compiling ns2 will do the rest of work and your Tcl code should understand your

[ns] CFP: SIMUTools 2008

2007-06-08 Thread WATTEYNE Thomas RD-TECH-GRE
Dear all, Please find attached the call-for-papers for SIMUTools 2008, the First International Conference on Simulation Tools and Techniques for Communications, Networks and Systems. Please accept our apologies if you have received multiple copies of this message. You are welcome to forward

[ns] TCP congestion window - Problem

2007-06-08 Thread Kacper K
Hi, This may be simple, but I am wondering if TCP Reno is working fine in NS-2. I traced cwnd_ size, and it showed ssth like this: 0 cwnd_ 1.000 0.04cwnd_ 2.000 0.09cwnd_ 3.000 0.1 cwnd_ 4.000 0.15cwnd_ 5.000 0.15cwnd_ 6.000 0.16cwnd_ 7.000 0.16

[ns] Help: error when using node generated by create_topology in NS format

2007-06-08 Thread khodor abboud
Hello evry Body, I am using the NS format generated by brite. when i try to use the node generated by the procedure create_topology (for monotoring per example), i have this error : // can't read n(3): no such variable while executing $ns monitor-queue create_topology.$n(3) $n(6)

[ns] one sender-multiple receivers

2007-06-08 Thread Kwnstantina Palla
Hello again, i would like to ask you, how can we send packets just from one node-source to miltiple nodes-neighbors. Can it be done trough UDP agents? or shall i determine my own routing protocol? thank you.

[ns] insert-entry - Node

2007-06-08 Thread Alexandre Malhão
Hi, I'm making a derived class of Connector. Now I need to use insert-entry method of Node to insert my class at the entry point of any node. What changes do I need to make inside tcl/lib/ files and common/ ? Best regards, Alexandre Malhão

[ns] Set bandwidth in mobile nodes...

2007-06-08 Thread super.ismiti
Hi, I would like to know how to set the bandwidth in a wireless mobile simulation. I found many examples and now I don't know what I must use: MAC set bandwidth_ 2Mb; LL set bandwidth_ 2Mb; Rb = 2*1e6; // 2 Mb and after... [ bind(Rb_, Rb); ] Could somebody tell me what is the correct