enumerazione TCP_TABLE_CLASS (iprtrmib.h)

L'enumerazione TCP_TABLE_CLASS definisce il set di valori utilizzati per indicare il tipo di tabella restituito dalle chiamate a GetExtendedTcpTable.

Sintassi

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;

Costanti

 
TCP_TABLE_BASIC_LISTENER
Al chiamante viene restituita una tabella MIB_TCPTABLE che contiene tutti gli endpoint TCP in ascolto (solo ricezione) nel computer locale.
TCP_TABLE_BASIC_CONNECTIONS
Una tabella MIB_TCPTABLE che contiene tutti gli endpoint TCP connessi nel computer locale viene restituita al chiamante.
TCP_TABLE_BASIC_ALL
Una tabella MIB_TCPTABLE che contiene tutti gli endpoint TCP nel computer locale viene restituita al chiamante.
TCP_TABLE_OWNER_PID_LISTENER
Al chiamante viene restituito un MIB_TCPTABLE_OWNER_PID o un MIB_TCP6TABLE_OWNER_PID che contiene tutti gli endpoint TCP in ascolto (solo ricezione) nel computer locale.
TCP_TABLE_OWNER_PID_CONNECTIONS
Un MIB_TCPTABLE_OWNER_PID o MIB_TCP6TABLE_OWNER_PID che contiene tutti gli endpoint TCP connessi nel computer locale viene restituito al chiamante.
TCP_TABLE_OWNER_PID_ALL
Al chiamante viene restituita una struttura MIB_TCPTABLE_OWNER_PID o MIB_TCP6TABLE_OWNER_PID che contiene tutti gli endpoint TCP nel computer locale.
TCP_TABLE_OWNER_MODULE_LISTENER
Al chiamante viene restituita una struttura MIB_TCPTABLE_OWNER_MODULE o MIB_TCP6TABLE_OWNER_MODULE che contiene tutti gli endpoint TCP in ascolto (solo ricezione) nel computer locale.
TCP_TABLE_OWNER_MODULE_CONNECTIONS
Al chiamante viene restituita una struttura MIB_TCPTABLE_OWNER_MODULE o MIB_TCP6TABLE_OWNER_MODULE che contiene tutti gli endpoint TCP connessi nel computer locale.
TCP_TABLE_OWNER_MODULE_ALL
Al chiamante viene restituita una struttura MIB_TCPTABLE_OWNER_MODULE o MIB_TCP6TABLE_OWNER_MODULE che contiene tutti gli endpoint TCP nel computer locale.

Commenti

In Microsoft Windows Software Development Kit (Windows SDK) (SDK) rilasciato per Windows Vista e versioni successive, l'organizzazione dei file di intestazione è stata modificata e l'enumerazione TCP_TABLE_CLASS è definita nel file di intestazione Iprtrmib.h, non nel file di intestazione Iphlpapi.h. Si noti che il file di intestazione Iprtrmib.h viene automaticamente incluso nel file di intestazione Iphlpapi.h . I file di intestazione Iprtrmib.h non devono mai essere usati direttamente.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista, Windows XP con SP2 [solo app desktop]
Server minimo supportato Windows Server 2008, Windows Server 2003 con SP1 [solo app desktop]
Intestazione iprtrmib.h (include Iphlpapi.h)

Vedi anche

GetExtendedTcpTable