MIB_TCP6TABLE2 structure (tcpmib.h)
The MIB_TCP6TABLE2 structure contains a table of IPv6 TCP connections on the local computer.
Syntax
typedef struct _MIB_TCP6TABLE2 {
DWORD dwNumEntries;
MIB_TCP6ROW2 table[ANY_SIZE];
} MIB_TCP6TABLE2, *PMIB_TCP6TABLE2;
Members
dwNumEntries
A value that specifies the number of TCP connections in the array.
table[ANY_SIZE]
An array of MIB_TCP6ROW2 structures containing TCP connection entries.
Remarks
The MIB_TCP6TABLE2 structure is defined on Windows Vista and later.
The GetTcp6Table2 function retrieves the IPv6 TCP connection table on the local computer and returns this information in a MIB_TCP6TABLE2 structure.
An array of MIB_TCP6ROW2 structures are contained in the MIB_TCP6TABLE2 structure.
The MIB_TCP6TABLE2 structure may contain padding for alignment between the dwNumEntries member and the first MIB_TCP6ROW2 array entry in the table member. Padding for alignment may also be present between the MIB_TCP6ROW2 array entries in the table member. Any access to a MIB_TCP6ROW2 array entry should assume padding may exist.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | tcpmib.h (include Iphlpapi.h) |