次の方法で共有


MIB_UDPSTATS (Compact 2013)

3/26/2014

This structure contains statistics for the User Datagram Protocol (UDP) running on the local device.

Syntax

typedef struct _MIB_UDPSTATS {
  DWORD dwInDatagrams; 
  DWORD dwNoPorts; 
  DWORD dwInErrors; 
  DWORD dwOutDatagrams; 
  DWORD dwNumAddrs; 
} MIB_UDPSTATS, *PMIB_UDPSTATS;

Members

  • dwInDatagrams
    The number of datagrams received.
  • dwNoPorts
    The number of received datagrams that were discarded because the port specified was invalid.
  • dwInErrors
    The number of erroneous datagrams that were received. This number does not include the value that is contained by the dwNoPorts member.
  • dwOutDatagrams
    The number of datagrams transmitted
  • dwNumAddrs
    The number of entries in the UDP listener table.

Remarks

The GetUdpStatistics function returns a pointer to a MIB_UDPSTATS structure.

The header file organization has changed. This structure is defined in the Udpmib.h header file instead of in the Iprtrmib.h header file. Note that the Udpmib.h header file is automatically included in Iprtrmib.h, which is automatically included in the Iphlpapi.h header file. The Udpmib.h and Iprtrmib.h header files should never be used directly.

Requirements

Header

iprtrmib.h,
ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
IP Helper Structures
GetUdpStatistics
GetTcpStatistics
MIB_UDPROW