WSAECOMPARATOR enumeration (winsock2.h)

The Windows Sockets WSAECOMPARATOR enumeration type is used for version-comparison semantics in Windows Sockets 2.

Syntax

typedef enum _WSAEcomparator {
  COMP_EQUAL = 0,
  COMP_NOTLESS
} WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR;

Constants

 
COMP_EQUAL
Value: 0
Used for determining whether version values are equal.
COMP_NOTLESS
Used for determining whether a version value is no less than a specified value.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winsock2.h