The MIB_TCPSTATS structure contains statistics for the TCP protocol running on the local computer.
typedef struct _MIB_TCPSTATS {
DWORD dwRtoAlgorithm; // time-out algorithm
DWORD dwRtoMin; // minimum time-out
DWORD dwRtoMax; // maximum time-out
DWORD dwMaxConn; // maximum connections
DWORD dwActiveOpens; // active opens
DWORD dwPassiveOpens; // passive opens
DWORD dwAttemptFails; // failed attempts
DWORD dwEstabResets; // established connections reset
DWORD dwCurrEstab; // established connections
DWORD dwInSegs; // segments received
DWORD dwOutSegs; // segment sent
DWORD dwRetransSegs; // segments retransmitted
DWORD dwInErrs; // incoming errors
DWORD dwOutRsts; // outgoing resets
DWORD dwNumConns; // cumulative connections
} MIB_TCPSTATS, *PMIB_TCPSTATS;
| Value | Description |
|---|---|
| MIB_TCP_RTO_CONSTANT | Constant Time-out |
| MIB_TCP_RTO_RSRE | MIL-STD-1778 Appendix B |
| MIB_TCP_RTO_VANJ | Van Jacobson's Algorithm |
| MIB_TCP_RTO_OTHER | Other |
Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
Windows 95/98: Requires Windows 98.
Header: Declared in Iprtrmib.h.