How to use Tcp Socket Base

59 views
Skip to first unread message

James Basuino

unread,
Jun 4, 2015, 9:14:00 AM6/4/15
to ns-3-...@googlegroups.com
I am looking to trace or at least figure out how to get the RTT and Window size in order to calculate the throughput while using the Tcp protocol. It seems that the TcpSocketBase has a lot of what I need for doing this, but I can't find any articles on how to use it. Would anyone be able to steer me in the right direction? Thank you for your time.

Konstantinos

unread,
Jun 4, 2015, 9:22:16 AM6/4/15
to ns-3-...@googlegroups.com, jb...@njit.edu
Hi,

Have you read the tutorial? 
https://www.nsnam.org/docs/tutorial/html/tracing.html#walkthrough-fifth-cc

This is an example of getting the Congestion Window trace source. 
Also the /examples/tcp/tcp-variants-comparison.cc is another example using the trace sources of TCP such as RTT, RTO...

Regards,
K.
Reply all
Reply to author
Forward
0 new messages