Platform SDK: Quality of Service

QOS

The QOS structure provides the means by which QOS-enabled applications can specify quality of service parameters for sent and received traffic on a particular flow.

typedef struct _QualityOfService {
   FLOWSPEC SendingFlowspec;    // flowspec for data sending 
   FLOWSPEC ReceivingFlowspec;  // flowspec for data receiving 
   WSABUF   ProviderSpecific;   // provider-specific parameters   
} QOS, FAR * LPQOS;

Members

SendingFlowspec
Specifies QOS parameters for the sending direction of a particular flow. SendingFlowspec is sent in the form of a FLOWSPEC structure.
ReceivingFlowspec
Specifies QOS parameters for the receiving direction of a particular flow. ReceivingFlowspec is sent in the form of a FLOWSPEC structure.
ProviderSpecific
Pointer to a structure of type WSABUF that can provide additional provider-specific QOS parameters to the RSVP SP for a given flow.

Remarks

Most applications can fulfill their quality of service requirements without using the ProviderSpecific buffer. However, if the application must provide information not available with standard Windows 2000 QOS parameters, the ProviderSpecific buffer allows the application to provide additional parameters for RSVP and/or traffic control.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Winsock2.h.

See Also

FLOWSPEC, ProviderSpecific