WSAVERSION structure (winsock2.h)
The WSAVERSION structure provides version comparison in Windows Sockets.
Syntax
typedef struct _WSAVersion {
DWORD dwVersion;
WSAECOMPARATOR ecHow;
} WSAVERSION, *PWSAVERSION, *LPWSAVERSION;
Members
dwVersion
Version of Windows Sockets.
ecHow
WSAECOMPARATOR enumeration, used in the comparison.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winsock2.h |