Examples: TCP
An example project (called “TCP”) is shipped with the standard model library. It highlights several features of the TCP model, including the different algorithms modeled. The following figure shows one of the scenarios from the example, a simple network setup containing one FTP traffic source sending 1MB file to a server. Different scenarios can be modeled to monitor the effects of packet discarding by the network on application response time and TCP’s congestion window.
Figure 552: Our Example Network

To better understand TCP behavior and how it adapts as options are enabled/disabled, you can compare various statistics (e.g., Sent Sequence Segment Number versus Received ACK Segment Number) or study the statistics (e.g., TCP Congestion Window). To take an even closer look at TCP behavior, you can use the OPNET debugger (ODB) and perform TCP model activity tracing using the command ltrace tcp during simulation.l