TCP_TABLE_CLASS enumeration (iprtrmib.h)
The TCP_TABLE_CLASS enumeration defines the set of values used to indicate the type of table returned by calls to GetExtendedTcpTable.
Syntax
typedef enum _TCP_TABLE_CLASS {
TCP_TABLE_BASIC_LISTENER,
TCP_TABLE_BASIC_CONNECTIONS,
TCP_TABLE_BASIC_ALL,
TCP_TABLE_OWNER_PID_LISTENER,
TCP_TABLE_OWNER_PID_CONNECTIONS,
TCP_TABLE_OWNER_PID_ALL,
TCP_TABLE_OWNER_MODULE_LISTENER,
TCP_TABLE_OWNER_MODULE_CONNECTIONS,
TCP_TABLE_OWNER_MODULE_ALL
} TCP_TABLE_CLASS, *PTCP_TABLE_CLASS;
Constants
TCP_TABLE_BASIC_LISTENER A MIB_TCPTABLE table that contains all listening (receiving only) TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_BASIC_CONNECTIONS A MIB_TCPTABLE table that contains all connected TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_BASIC_ALL A MIB_TCPTABLE table that contains all TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_PID_LISTENER A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that contains all listening (receiving only) TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_PID_CONNECTIONS A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that structure that contains all connected TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_PID_ALL A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID structure that contains all TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_MODULE_LISTENER A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE structure that contains all listening (receiving only) TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_MODULE_CONNECTIONS A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE structure that contains all connected TCP endpoints on the local computer is returned to the caller. |
TCP_TABLE_OWNER_MODULE_ALL A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE structure that contains all TCP endpoints on the local computer is returned to the caller. |
Remarks
On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the TCP_TABLE_CLASS enumeration is defined in the Iprtrmib.h header file, not in the Iphlpapi.h header file. Note that the Iprtrmib.h header file is automatically included in Iphlpapi.h header file. The Iprtrmib.h header files should never be used directly.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only] |
Header | iprtrmib.h (include Iphlpapi.h) |