This is the implementation of TCP Compound for NS3.
-
Download tcp-compound.cc and tcp-compound.h according to your NS3 version. I only test it in ns3.21 and ns3.22, but it should work well with older version (some minor modificaion might be needed though)
-
Placed the file downloaded to directory
/path/to/ns3-3.21(or 3.22)/src/internet/model
-
Open
/path/to/ns3-3.21(or 3.22)/src/internet/wscript
, addmodel/tcp-compound.cc
andmodel/tcp-compound.h
to appropriate position -
Build again, now you could run
test.cc
to see performance of TCP Compound
Should you have any questions, please contact [email protected]