RAS_STATS
This structure stores the statistics for a single-link RAS connection, or for one of the links in a multilink RAS connection.
typedef struct _RAS_STATS {
DWORD dwSize;
DWORD dwBytesXmited;
DWORD dwBytesRcved;
DWORD dwFramesXmited;
DWORD dwFramesRcved;
DWORD dwCrcErr;
DWORD dwTimeoutErr;
DWORD dwAlignmentErr;
DWORD dwHardwareOverrunErr;
DWORD dwFramingErr;
DWORD dwBufferOverrunErr;
DWORD dwCompressionRatioIn;
DWORD dwCompressionRatioOut;
DWORD dwBps;
DWORD dwConnectDuration;
} RAS_STATS, *PRAS_STATS;
Members
dwSize
Specifies the version of the structure. Set this member to sizeof (RAS_STATS) before using the structure in a function call.dwBytesXmited
The number of bytes transmitted through this connection or link.dwBytesRcved
The number of bytes received through this connection or link.dwFramesXmited
The number frames transmitted through this connection or link.dwFramesRcved
The number of frames received through this connection or link.dwCrcErr
The number of cyclic redundancy check (CRC) errors on this connection or link.dwTimeoutErr
The number of timeout errors on this connection or link.dwAlignmentErr
The number of alignment errors on this connection or link.dwHardwareOverrunErr
The number of hardware overrun errors on this connection or link.dwFramingErr
The number of framing errors on this connection or link.dwBufferOverrunErr
The number of buffer overrun errors on this connection or link.dwCompressionRatioIn
The compression ratio for the data being received on this connection or link.dwCompressionRatioOut
The compression ratio for the data being transmitted on this connection or link.dwBps
The speed of the connection or link, in bits per second. This speed is negotiated at the time that the connection or link is established.This speed is not equal to the throughput of the connection or link. To calculate the average throughput, divide the number of bytes transmitted (dwBytesXmited) and received (dwBytesRcved) by the amount of time the connection or link has been up (dwConnectDuration).
dwConnectDuration
The amount of time, in milliseconds, that the connection or link has been connected.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ras.h.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.