Closed uilianries closed 1 year ago
Both WSAPoll and WSAGetLastError are native Windows functions and implemented by Ws2_32 library.
Ws2_32
Both functions are used by Connection.cpp when building for Windows.
CMake does not injects that library automatically, when winsock2.h is listed, neither Windows compiler, so we need to add it manually.
winsock2.h
fixes #64
Both WSAPoll and WSAGetLastError are native Windows functions and implemented by
Ws2_32
library.Both functions are used by Connection.cpp when building for Windows.
CMake does not injects that library automatically, when
winsock2.h
is listed, neither Windows compiler, so we need to add it manually.fixes #64