次の方法で共有


MIB_TCPTABLE2 (Compact 2013)

3/26/2014

This structure contains a table of IPv4 TCP connections on the local device.

Syntax

typedef struct _MIB_TCPTABLE2 {
  DWORD dwNumEntries;
  MIB_TCPROW2 table[ANY_SIZE];
} MIB_TCPTABLE2,
  *PMIB_TCPTABLE2;

Members

  • dwNumEntries
    The number of entries in the table.
  • table
    A pointer to a table of TCP connections implemented as an array of MIB_TCPROW2 structures.

Remarks

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

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

Requirements

Header

ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
GetTcp6Table
GetTcp6Table2
GetTcpTable
GetTcpTable2
MIB_TCP6ROW
MIB_TCP6ROW2
MIB_TCP6TABLE
MIB_TCP6TABLE2
MIB_TCPROW
MIB_TCPROW2
MIB_TCPTABLE