Loading src/event/iocp.cpp +2 −2 Changes for src/event/iocp.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ namespace netplus { &dwBytesTransfered, &lpContext, &pOverlapped, 1000); _Timeout); if (lpContext == 0) { continue; Loading Loading @@ -392,7 +392,7 @@ namespace netplus { while (RUNNING) { // This is the correct blocking call. It waits for the g_hAcceptEvent to be signaled. DWORD dwResult = WSAWaitForMultipleEvents(1, &g_hAcceptEvent, FALSE, 1000, FALSE); DWORD dwResult = WSAWaitForMultipleEvents(1, &g_hAcceptEvent, FALSE, _Timeout, FALSE); if (WSA_WAIT_FAILED == dwResult) { // Handle wait failure Loading Loading
src/event/iocp.cpp +2 −2 Changes for src/event/iocp.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ namespace netplus { &dwBytesTransfered, &lpContext, &pOverlapped, 1000); _Timeout); if (lpContext == 0) { continue; Loading Loading @@ -392,7 +392,7 @@ namespace netplus { while (RUNNING) { // This is the correct blocking call. It waits for the g_hAcceptEvent to be signaled. DWORD dwResult = WSAWaitForMultipleEvents(1, &g_hAcceptEvent, FALSE, 1000, FALSE); DWORD dwResult = WSAWaitForMultipleEvents(1, &g_hAcceptEvent, FALSE, _Timeout, FALSE); if (WSA_WAIT_FAILED == dwResult) { // Handle wait failure Loading