Platform SDK: Quality of Service

QOS Event Codes

Applications that use the FD_QOS event suite to monitor QOS events have access to status and error codes associated with the event, as well as updated QOS parameters (in the QOS structure associated with the event). The following is a list of common QOS-related Windows Sockets 2 status and error codes.

Event or error code Definition
WSA_QOS_RECEIVERS One or more RESV message has arrived.
WSA_QOS_SENDERS One or more PATH message has arrived.
WSA_QOS_NO_SENDERS There are no senders.
WSA_QOS_NO_RECEIVERS There are no receivers.
WSA_QOS_REQUEST_CONFIRMED Reservation has been confirmed.
WSA_QOS_ADMISSION_FAILURE Error due to lack of resources.
WSA_QOS_POLICY_FAILURE Rejected for administrative reasons.
WSA_QOS_BAD_STYLE Unknown or conflicting style.
WSA_QOS_BAD_OBJECT Problem with some part of the FLOWSPEC.
WSA_QOS_TRAFFIC_CTRL_ERROR Problem with some part of the filter specification.
WSA_QOS_GENERIC_ERROR General error.

For additional status and error codes, consult the Winsock2.h header file.