Share via


MIB_TCPSTATS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains statistics for the TCP protocol running on the local computer.

Syntax

typedef struct _MIB_TCPSTATS {
  DWORD dwRtoAlgorithm; 
  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;

Members

  • dwRtoAlgorithm
    The retransmission time-out algorithm in use. The following table shows the possible values. This member can be one of these values.

    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

  • dwRtoMin
    The minimum retransmission time-out value in milliseconds.
  • dwRtoMax
    The maximum retransmission time-out value in milliseconds.
  • dwMaxConn
    The maximum number of connections. If this member is -1, the maximum number of connections is dynamic.
  • dwActiveOpens
    The number of active opens. In an active open, the client is initiating a connection with the server.
  • dwPassiveOpens
    The number of passive opens. In a passive open, the server is listening for a connection request from a client.
  • dwAttemptFails
    The number of failed connection attempts.
  • dwEstabResets
    The number of established connections that have been reset.
  • dwCurrEstab
    The number of currently established connections.
  • dwInSegs
    The number of segments received or transmitted.
  • dwOutSegs
    The number of segments transmitted. This number does not include retransmitted segments.
  • dwRetransSegs
    The number of segments retransmitted.
  • dwInErrs
    The number of errors received.
  • dwOutRsts
    The number of segments transmitted with the reset flag set.
  • dwNumConns
    The cumulative number of connections.

Requirements

Header iprtrmib.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IP Helper Structures
GetTcpStatistics