StringTokenizer 복구

This commit is contained in:
2025-04-28 02:11:27 +09:00
parent df95bde226
commit a02fb5da88
12 changed files with 235 additions and 121 deletions

View File

@@ -0,0 +1,21 @@
#include "Socket/WSAManager.hpp"
#include "Socket/Log.hpp"
#include "precomp.hpp"
namespace Chattr {
WSAManager::WSAManager() {
#ifdef _WIN32
WSADATA wsa;
if (WSAStartup(MAKEWORD(2, 2), &wsa) != 0)
log::critical("WSAStartup()");
#endif
}
WSAManager::~WSAManager() {
#ifdef _WIN32
WSACleanup();
#endif
}
}