Thursday, July 16, 2009

[AIT 09] OTcl, Route, and TCP

This question is from Muhammad Hasanain Chaudary:

1. What is the Role of keyword “self” in the OTcl?
2. What is the instproc (and what is the associated class) used to compute the optimal route in NS2?
3. What’s the difference between Fast Retransmit and Fast Recovery? What is their relationship?
4.Is there any drawback of TCP?

Wednesday, July 15, 2009

[AIT09] Classifier

This question is from Nakrop.

1. What are the based class of class Classifier?

2. What are two key variables of the C++ class Classifier? What are their purposes?

3. "Function classify(p) is the most important function of a classifier"
Do you agree with this statement? If you agree, please give your reasons.

4. What are the default values of shift_ and mask_ ?
Which function use these variables?

Monday, July 13, 2009

[AIT09] New Lecture Notes

Guys,

I just post a new lecture note on the website. I also fixed the broken file for chapter about UDP. Please have a look at

http://www.ece.ubc.ca/~teerawat/NS2.htm

Sunday, July 12, 2009

[AIT09] instvar classifier_ and next_rtm_ of class RtModule

This question is from Wattanadej

1. Why the instvar classifier_ and next_rtm_ of RtModule(OTcl) are not bind with the variable classifier_ and next_rtm_ of the compiled class(C++)?

2. What is the C++ class corresponding to the OTcl class RtModule?

[AIT09] RTT and RTO for TCP

This question is from our friend Shujaat

Suppose we have average RTT of 1.5 ms, and RTT variation of 0.5 ms. Suppose further that the next RTT sample is 3 ms.
1) What is the average value of RTT corresponding to the last RTT Sample above.
2) What is the value of RTT variation
3) What is the value of RTO

[AIT09] Output Queue

This question is from Thein Tun Aung:

How is an output queue of a node implemented ?
What will happen if the buffer capacity of output queue is exceeded ?

Friday, July 10, 2009

[AIT09] How to create a two-way TCP

This question is from our friend Shujaat

In our course we have studied TCP Agent for one way transmission by
sender (which obey different congestion and error control
techniques)and sink(receiver). If we want to transmitt in two ways. Is
is possible to transmit in 2 ways in NS2?
If possible then how?