Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

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 contained by the dwNoPortsmember.

dwOutDatagrams

The number of datagrams transmitted.

dwNumAddrs

The number of entries in the UDP listener table.

Requirements

Header iprtrmib.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also