1 Problem:I modified the source code. How ever, I still cannot compile ns/ the ns code does not change.
Solution: in case that you use ns2 in unix machine in cs department, making sure that you upload the modified files; making sure that the modified time is later than last modified time; making sure that you upload the right file to right place.
How to access a node in the class of the queue(e.g. PriQueue). Actually, in NS, a queue associates with a link. Then how can I know which link the queue associates with when my code runs into the PriQueue class.
I use a stupic way to do it. I look into the packets in the queue. I can know the current node address of that packet so that I got to know which node the queue belongs to. Who knows another smart way to do it?
Mac/802_11 set bandwidth_ 11e6 Phy/WirelessPhy set bandwidth_ 11e6 ---It seems that these two lines have no any use. Right?
Mac/802_11 set dataRate_ 11e6 Mac/802_11 set basicRate_ 2e6 ---To set bandwidth, you could only set datarate!
If I want the datarate be 11e6, but only 5e6 bandwidth is reserved for use, what can I do?