TCP_TABLE_CLASS (Compact 2013)

3/26/2014

This enumeration defines the set of values that are used to indicate the type of table returned by calls to GetExtendedTcpTable.

Syntax

typedef enum  {
  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 device is returned to the caller.
  • TCP_TABLE_BASIC_CONNECTIONS
    A MIB_TCPTABLE table that contains all connected TCP endpoints on the local device is returned to the caller.
  • TCP_TABLE_BASIC_ALL
    A MIB_TCPTABLE table that contains all TCP endpoints on the local device 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 device 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 device 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 device 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 device is returned to the caller.

Remarks

The header file organization has changed and the TCP_TABLE_CLASS enumeration is defined in the Iprtrmib.h header file instead of 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

Header

iprtrmib.h

See Also

Reference

IP Helper Enumerations
GetExtendedTcpTable