Freigeben über


MIB_TCPTABLE (Compact 2013)

3/26/2014

This structure contains a table of TCP connections.

Syntax

typedef struct _MIB_TCPTABLE {
  DWORD dwNumEntries; 
  MIB_TCPROW table[ANY_SIZE]; 
} MIB_TCPTABLE, *PMIB_TCPTABLE;

Members

  • dwNumEntries
    The number of entries in the table.
  • table
    Pointer to a table of TCP connections implemented as an array of MIB_TCPROW structures.

Remarks

The GetTcpTable function retrieves the IPv4 TCP connection table on the local device and returns this information in a MIB_TCPTABLE structure. An array of MIB_TCPROW structures are contained in the MIB_TCPTABLE structure.

The MIB_TCPTABLE structure may contain padding for alignment between the dwNumEntries member and the first MIB_TCPROW array entry in the table member. Padding for alignment may also be present between the MIB_TCPROW array entries in the table member. Any access to a MIB_TCPROW array entry should assume padding may exist.

The header file organization has changed. This structure is defined in the Tcpmib.h header file, not in the Iprtrmib.h header file. Note that the Tcpmib.h header file is automatically included in Iprtrmib.h, that is automatically included in the Iphlpapi.h header file. The Tcpmib.h and Iprtrmib.h header files should never be used directly.

Requirements

Header

iprtrmib.h,
ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
GetTcp6Table
GetTcp6Table2
GetTcpTable
GetTcpTable2
IP Helper Structures
MIB_TCP6ROW
MIB_TCP6ROW2
MIB_TCP6TABLE
MIB_TCP6TABLE2
MIB_TCPROW
MIB_TCPROW2
MIB_TCPTABLE2