add ws2tcpip.h

This commit is contained in:
Lion Kortlepel committed 2021-09-09 12:14:32 +03:00
1 parent a7f2f85e45
commit 95c036836e
1 file changed
+1
+1
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