The Windows Sockets WSAECOMPARATOR enumeration type is used for version-comparison semantics in Windows Sockets 2.
typedef enum _WSAEcomparator
{
COMP_EQUAL = 0,
COMP_NOTLESS
} WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR;
| Constant | Description |
|---|---|
| COMP_EQUAL | Used for determining whether version values are equal. |
| COMP_NOTLESS | Used for determining whether a version value is no less than a specified value. |
Header: Declared in winsock2.h.
Library: Use ws2_32.lib.