Saturday, January 31, 2009

Correction for NS2 Book: ARQ Codes

This is the correction for the following book:

T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator
NS2", Springer 2008.
http://www.springer.com/engineering/signals/book/978-0-387-71759-3


If you are trying to run the ARQ codes in chapter 14, it will not work. You need to add the following code into your arq.cc file:

static class ARQTxClass: public TclClass {
public:
ARQTxClass() : TclClass("ARQTx") {}
TclObject* create(int, const char*const*) {
return (new ARQTx);
}
} class_arq_tx;


You might also find the following slide useful:
http://www.ece.ubc.ca/~teerawat/NS2.htm

Best,
Teerawat

No comments: