비트 딱 맞는지 리눅스에서도 확인할 것

This commit is contained in:
2025-05-01 10:44:45 +09:00
parent 9451b4da40
commit d3161edb36
8 changed files with 88 additions and 29 deletions

View File

@@ -1,10 +1,23 @@
#pragma once
#include "Utils/ThreadPool.hpp"
namespace Chattr {
class IOCP {
public:
IOCP();
IOCP(std::shared_ptr<ThreadPool> __IOCPThread);
~IOCP();
void init(std::shared_ptr<ThreadPool> __IOCPThread);
void recv();
private:
std::shared_ptr<ThreadPool> IOCPThread_;
#ifdef _WIN32
HANDLE completinPort_;
#elif __linux__
#endif
};
}