Loading src/event/iocp.cpp +1 −4 Changes for src/event/iocp.cpp: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -134,10 +134,7 @@ namespace netplus { g_eventapi->ConnectEvent(pClientContext->CurCon, tid, args); try { std::shared_ptr<char[]> buf(new char[BLOCKSIZE], std::default_delete<char[]>()); size_t recv = pClientContext->CurCon->csock->recvData(buf.get(), BLOCKSIZE, 0); pClientContext->CurCon->RecvData.append(buf.get(), recv); g_eventapi->RequestEvent(pClientContext->CurCon, tid, args); pClientContext->CurCon->csock->recvData(nullptr,0,0); } catch (NetException& e) { std::cerr << e.what() << std::endl; if (e.getErrorType() != NetException::Note) Loading Loading
src/event/iocp.cpp +1 −4 Changes for src/event/iocp.cpp: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -134,10 +134,7 @@ namespace netplus { g_eventapi->ConnectEvent(pClientContext->CurCon, tid, args); try { std::shared_ptr<char[]> buf(new char[BLOCKSIZE], std::default_delete<char[]>()); size_t recv = pClientContext->CurCon->csock->recvData(buf.get(), BLOCKSIZE, 0); pClientContext->CurCon->RecvData.append(buf.get(), recv); g_eventapi->RequestEvent(pClientContext->CurCon, tid, args); pClientContext->CurCon->csock->recvData(nullptr,0,0); } catch (NetException& e) { std::cerr << e.what() << std::endl; if (e.getErrorType() != NetException::Note) Loading