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

@@ -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();
};
}