Condividi tramite


MIB_UDP6TABLE_OWNER_PID struttura (udpmib.h)

La struttura MIB_UDP6TABLE_OWNER_PID contiene la tabella listener User Datagram Protocol (UDP) per IPv6 nel computer locale. La tabella include anche l'ID processo (PID) che ha rilasciato la chiamata alla funzione di associazione per ogni endpoint UDP.

Sintassi

typedef struct _MIB_UDP6TABLE_OWNER_PID {
  DWORD                 dwNumEntries;
  MIB_UDP6ROW_OWNER_PID table[ANY_SIZE];
} MIB_UDP6TABLE_OWNER_PID, *PMIB_UDP6TABLE_OWNER_PID;

Members

dwNumEntries

Numero di elementi MIB_UDP6ROW_OWNER_PID nella tabella.

table[ANY_SIZE]

Matrice di strutture MIB_UDP6ROW_OWNER_PID restituite da una chiamata a GetExtendedUdpTable.

Commenti

La struttura MIB_UDP6TABLE_OWNER_PID viene restituita da una chiamata a GetExtendedUdpTable con il parametro TableClass impostato su un UDP_TABLE_OWNER_PID dall'enumerazione UDP_TABLE_CLASS e dal parametro ulAf impostato su AF_INET6. La struttura MIB_UDP6TABLE_OWNER_PID contiene una matrice di strutture MIB_UDP6ROW_OWNER_PID .

La struttura MIB_UDP6TABLE_OWNER_PID può contenere spaziatura interna per l'allineamento tra il membro dwNumEntries e la prima voce della matrice MIB_UDP6ROW_OWNER_PID nel membro della tabella . La spaziatura interna per l'allineamento può essere presente anche tra le voci della matrice MIB_UDP6ROW_OWNER_PID nel membro della tabella . Qualsiasi accesso a una voce di matrice MIB_UDP6ROW_OWNER_PID deve presupporre che la spaziatura interna possa esistere.

La struttura MIB_UDP6TABLE_OWNER_PID contiene la tabella del listener UDP per IPv6 nel computer locale. Il nome si basa sulla definizione di questa tabella in RFC 2454 pubblicata da IETF. Per altre informazioni, vedere http://www.ietf.org/rfc/rfc2454.txt. Questa tabella contiene endpoint UDP per IPv6 associati a un indirizzo. Si noti che un'applicazione può creare un socket UDP e associarla a un indirizzo per l'invio di un datagramma UDP, senza alcuna intenzione di ricevere pacchetti usando questo socket (funzionante come listener).

La struttura MIB_UDP6TABLE_OWNER_MODULE è una versione avanzata della struttura MIB_UDP6TABLE_OWNER_PID che include tutti i dati di proprietà disponibili per ogni endpoint UDP nella tabella. Il MIB_UDP6TABLE_OWNER_PID è una versione avanzata della MIB_UDP6TABLE che include l'ID processo (PID) che ha rilasciato la chiamata alla funzione di associazione per ogni endpoint UDP nella tabella.

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

Requisiti

   
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 udpmib.h (includere Iphlpapi.h)

Vedi anche

GetExtendedUdpTable

GetUdp6Table

GetUdpTable

MIB_UDP6ROW

MIB_UDP6ROW_OWNER_MODULE

MIB_UDP6ROW_OWNER_PID

MIB_UDP6TABLE

MIB_UDP6TABLE_OWNER_MODULE

MIB_UDPROW

MIB_UDPROW_OWNER_MODULE

MIB_UDPROW_OWNER_PID

MIB_UDPTABLE

MIB_UDPTABLE_OWNER_MODULE

MIB_UDPTABLE_OWNER_PID

UDP_TABLE_CLASS

bind