possible windows compiler fix

This commit is contained in:
Lion Kortlepel
2021-08-10 13:57:32 +02:00
committed by Lion
parent afb18ccff7
commit e92847e628
2 changed files with 1 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ inline void CloseSocketProper(int TheSocket) {
#ifdef WIN32
#include <conio.h>
#include <winsock2.h>
#include <ws2def.h>
inline void CloseSocketProper(SOCKET TheSocket) {
shutdown(TheSocket, SD_BOTH);
closesocket(TheSocket);