Thank for your reply, Matt. I also think changing the code in tcp-socket-base.cc, but I realize that they have some functions to change rwnd value, but all of them is protected function, so I think maybe the simulation will have problem if I change this value. I also think access ACK segment but I do not find the some method or class in ns3 mentioned ACK segment. I read on wiki:
https://en.wikipedia.org/wiki/TCP_tuning. They use RWIN to limit throughput. Does they use receive buffer size to limit throughput? Because I try to change buffer size and it works (limit throughput of connection).
Vào 20:54:17 UTC+7 Thứ Tư, ngày 24 tháng 8 năm 2016, Matt Anonyme đã viết: