mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +00:00
add ws2tcpip.h
This commit is contained in:
@@ -23,6 +23,7 @@ inline void CloseSocketProper(int socket) {
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
inline void CloseSocketProper(SOCKET socket) {
|
inline void CloseSocketProper(SOCKET socket) {
|
||||||
shutdown(socket, SD_BOTH);
|
shutdown(socket, SD_BOTH);
|
||||||
closesocket(socket);
|
closesocket(socket);
|
||||||
|
|||||||
Reference in New Issue
Block a user