|
@@ -333,7 +333,8 @@ bool CIOCPPipe::DoAccpet( PER_PIPE_CONTEXT *pPipeContext, PER_IO_CONTEXT* pIoCon
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- pIoContext->ResetBuffer();
|
|
|
|
|
|
+ //dprintf(_T("DoAccpet:%p"), &pIoContext->m_Overlapped);
|
|
|
|
+ //pIoContext->ResetBuffer();
|
|
return PostAccept();
|
|
return PostAccept();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -345,6 +346,7 @@ bool CIOCPPipe::PostRecv( PER_IO_CONTEXT* pIoContext )
|
|
//WSABUF *p_wbuf = &pIoContext->chRequest;
|
|
//WSABUF *p_wbuf = &pIoContext->chRequest;
|
|
OVERLAPPED *p_ol = &pIoContext->m_Overlapped;
|
|
OVERLAPPED *p_ol = &pIoContext->m_Overlapped;
|
|
|
|
|
|
|
|
+ dprintf(_T("PostRecv:%p"), &pIoContext->m_Overlapped);
|
|
pIoContext->ResetBuffer();
|
|
pIoContext->ResetBuffer();
|
|
pIoContext->m_OpType = OP_RECV;
|
|
pIoContext->m_OpType = OP_RECV;
|
|
|
|
|