Loading src/event/iocp.cpp +2 −12 Changes for src/event/iocp.cpp: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -115,18 +115,8 @@ namespace netplus { g_eventapi->ConnectEvent(*pClientContext->CurCon, tid, args); buffer buf(0); INITIALRECV: try { size_t recv = pClientContext->CurCon->csock->recvData(buf, 0); }catch (NetException& e) { if (e.getErrorType() != NetException::Note) { std::cerr << e.what() << std::endl; g_eventapi->DisconnectEvent(*pClientContext->CurCon, tid, args); delete pClientContext->CurCon->csock; delete pClientContext; throw e; } } pClientContext->CurCon->csock->recvData(buf, 0); } private: Loading Loading
src/event/iocp.cpp +2 −12 Changes for src/event/iocp.cpp: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -115,18 +115,8 @@ namespace netplus { g_eventapi->ConnectEvent(*pClientContext->CurCon, tid, args); buffer buf(0); INITIALRECV: try { size_t recv = pClientContext->CurCon->csock->recvData(buf, 0); }catch (NetException& e) { if (e.getErrorType() != NetException::Note) { std::cerr << e.what() << std::endl; g_eventapi->DisconnectEvent(*pClientContext->CurCon, tid, args); delete pClientContext->CurCon->csock; delete pClientContext; throw e; } } pClientContext->CurCon->csock->recvData(buf, 0); } private: Loading