Loading src/event/iocp.cpp +4 −4 Changes for src/event/iocp.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ namespace netplus { ctx->CurCon->csock->recvData(ctx->RecvBuf, 0); }; void start_write (client* ctx) { void start_write (client* ctx ,int tid, ULONG_PTR args) { con& c = *ctx->CurCon; while (!c.SendData.empty()) { Loading Loading @@ -261,7 +261,7 @@ namespace netplus { if (!c.SendData.empty()) { ctx->State = IO_WRITE_STATE; start_write(ctx); start_write(ctx,tid,args); } else { ctx->State = IO_READ_STATE; start_read(ctx); Loading Loading @@ -320,14 +320,14 @@ namespace netplus { if (!c.SendData.empty()) { pClientContext->State = IO_WRITE_STATE; start_write(pClientContext); start_write(pClientContext,tid,args); } else { pClientContext->State = IO_READ_STATE; start_read(pClientContext); } } break; case IO_WRITE_STATE: { start_write(pClientContext); start_write(pClientContext,tid,args); } break; default: { NetException exp; Loading Loading
src/event/iocp.cpp +4 −4 Changes for src/event/iocp.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ namespace netplus { ctx->CurCon->csock->recvData(ctx->RecvBuf, 0); }; void start_write (client* ctx) { void start_write (client* ctx ,int tid, ULONG_PTR args) { con& c = *ctx->CurCon; while (!c.SendData.empty()) { Loading Loading @@ -261,7 +261,7 @@ namespace netplus { if (!c.SendData.empty()) { ctx->State = IO_WRITE_STATE; start_write(ctx); start_write(ctx,tid,args); } else { ctx->State = IO_READ_STATE; start_read(ctx); Loading Loading @@ -320,14 +320,14 @@ namespace netplus { if (!c.SendData.empty()) { pClientContext->State = IO_WRITE_STATE; start_write(pClientContext); start_write(pClientContext,tid,args); } else { pClientContext->State = IO_READ_STATE; start_read(pClientContext); } } break; case IO_WRITE_STATE: { start_write(pClientContext); start_write(pClientContext,tid,args); } break; default: { NetException exp; Loading