fix: IOCPServer::StartServer and IOCPClient::WorkThreadProc

This commit is contained in:
yuanyuanxiang
2021-03-14 11:44:56 +08:00
parent 919afb5311
commit 2ffa2534f1
6 changed files with 28 additions and 16 deletions

View File

@@ -76,7 +76,7 @@ public:
typedef void (CALLBACK *pfnNotifyProc)(CONTEXT_OBJECT* ContextObject);
typedef void (CALLBACK *pfnOfflineProc)(CONTEXT_OBJECT* ContextObject);
BOOL StartServer(pfnNotifyProc NotifyProc, pfnOfflineProc OffProc, USHORT uPort);
UINT StartServer(pfnNotifyProc NotifyProc, pfnOfflineProc OffProc, USHORT uPort);
static DWORD WINAPI ListenThreadProc(LPVOID lParam);
BOOL InitializeIOCP(VOID);