add ws2tcpip.h

This commit is contained in:
Lion Kortlepel 2021-07-29 12:02:49 +02:00
parent a7f2f85e45
commit 95c036836e
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -26,6 +26,7 @@ inline void CloseSocketProper(int TheSocket) {
inline void CloseSocketProper(SOCKET TheSocket) { inline void CloseSocketProper(SOCKET TheSocket) {
shutdown(TheSocket, 2); // 2 == SD_BOTH shutdown(TheSocket, 2); // 2 == SD_BOTH
closesocket(TheSocket); closesocket(TheSocket);
} }
#endif // WIN32 #endif // WIN32