StringTokenizer 복구
This commit is contained in:
@@ -1,24 +1,10 @@
|
||||
#pragma once
|
||||
#include "precomp.hpp"
|
||||
#include "Socket/Log.hpp"
|
||||
|
||||
|
||||
namespace Chattr {
|
||||
|
||||
struct WSAManager {
|
||||
|
||||
WSAManager() {
|
||||
#ifdef _WIN32
|
||||
WSADATA wsa;
|
||||
if (WSAStartup(MAKEWORD(2, 2), &wsa) != 0)
|
||||
log::critical("WSAStartup()");
|
||||
#endif
|
||||
}
|
||||
|
||||
~WSAManager() {
|
||||
#ifdef _WIN32
|
||||
WSACleanup();
|
||||
#endif
|
||||
}
|
||||
|
||||
WSAManager();
|
||||
~WSAManager();
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user