<div class="content" name="MIB_TCPSTATS" uuid="5964f2fa-b758-4cf6-9866-cdc5b09fbbe3"><p>The <b>MIB_TCPSTATS</b> structure contains statistics for
the TCP protocol running on the local computer. This structure is used in <b>MIB_OPAQUE_INFO</b> (section
<a href="169e435d-a975-4c1c-bf41-55fd2bd76125" data-linktype="relative-path">2.2.1.2.52</a>) structure.</p><dl>
<dd>
<div><pre> typedef struct _MIB_TCPSTATS {
   union {
     DWORD dwRtoAlgorithm;
     TCP_RTO_ALGORITHM RtoAlgorithm;
   };
   DWORD dwRtoMin;
   DWORD dwRtoMax;
   DWORD dwMaxConn;
   DWORD dwActiveOpens;
   DWORD dwPassiveOpens;
   DWORD dwAttemptFails;
   DWORD dwEstabResets;
   DWORD dwCurrEstab;
   DWORD dwInSegs;
   DWORD dwOutSegs;
   DWORD dwRetransSegs;
   DWORD dwInErrs;
   DWORD dwOutRsts;
   DWORD dwNumConns;
 } MIB_TCPSTATS,
  *PMIB_TCPSTATS;
</pre></div>
</dd></dl><p><b>dwRtoAlgorithm: </b>The retransmission time-out
(RTO) algorithm in use. This member can be one of the enum values in <a href="9467bc9c-dac1-4f4c-acd5-ce50b8b753cf" data-linktype="relative-path"><b>TCP_RTO_ALGORITHM (section 2.2.1.1.12)</b></a>.
</p><p><b>RtoAlgorithm: </b>The RTO algorithm in use.<a id="Appendix_A_Target_38"></a><a aria-label="Product behavior note 38" href="3bb906f0-b077-47ab-ad11-d8d807afde26#Appendix_A_38" data-linktype="relative-path">&lt;38&gt;</a></p><p><b>dwRtoMin: </b>The minimum RTO value in
milliseconds.</p><p><b>dwRtoMax: </b>The maximum RTO value in
milliseconds.</p><p><b>dwMaxConn: </b>The maximum number of connections.
If this member is -1, the maximum number of connections is variable.</p><p><b>dwActiveOpens: </b>The number of active open
connections. In an active open, the client is initiating a connection with the
server.</p><p><b>dwPassiveOpens: </b>The number of passive open
connections. In a passive open, the server is listening for a connection
request from a client.</p><p><b>dwAttemptFails: </b>The number of failed
connection attempts.</p><p><b>dwEstabResets: </b>The number of established
connections that were reset.</p><p><b>dwCurrEstab: </b>The number of currently
established connections.</p><p><b>dwInSegs: </b>The number of segments received.</p><p><b>dwOutSegs: </b>The number of segments transmitted.
This number does not include retransmitted segments.</p><p><b>dwRetransSegs: </b>The number of segments
retransmitted.</p><p><b>dwInErrs: </b>The number of errors received.</p><p><b>dwOutRsts: </b>The number of segments transmitted
with the reset flag set.</p><p><b>dwNumConns: </b>The number of connections that are
currently present in the system. This total number includes connections in all
states except listening connections.</p></div>