|
@@ -777,7 +777,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
// 꼇璃관庫;
|
|
|
if (PAK_LEN > pIoContext->m_Overlapped.InternalHigh)
|
|
|
{
|
|
|
- OutputDebugString("A:꼇璃관庫;\n");
|
|
|
+ //OutputDebugString("A:꼇璃관庫;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf, pIoContext->m_Overlapped.InternalHigh);
|
|
|
}
|
|
|
else
|
|
@@ -787,19 +787,19 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
// 供憐돨관;
|
|
|
if (phead->len == pIoContext->m_Overlapped.InternalHigh)
|
|
|
{
|
|
|
- OutputDebugString("A:供憐돨관;\n");
|
|
|
+ //OutputDebugString("A:供憐돨관;\n");
|
|
|
_TaskProcess(pIoContext, (ProPackage*)pIoContext->m_wsaBuf.buf);
|
|
|
}
|
|
|
// 鬼관;
|
|
|
else if (phead->len > pIoContext->m_Overlapped.InternalHigh)
|
|
|
{
|
|
|
- OutputDebugString("A:鬼관;\n");
|
|
|
+ //OutputDebugString("A:鬼관;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf, pIoContext->m_Overlapped.InternalHigh);
|
|
|
}
|
|
|
// 낚관;
|
|
|
else if (phead->len < pIoContext->m_Overlapped.InternalHigh)
|
|
|
{
|
|
|
- OutputDebugString("A:낚관;\n");
|
|
|
+ //OutputDebugString("A:낚관;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf + phead->len, pIoContext->m_Overlapped.InternalHigh - phead->len);
|
|
|
_TaskProcess(pIoContext, (ProPackage*)pIoContext->m_wsaBuf.buf);
|
|
|
}
|
|
@@ -815,7 +815,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
{
|
|
|
if ( phead->len <= pSocketContext->lastData.size() )
|
|
|
{
|
|
|
- OutputDebugString("C:낚관;\n");
|
|
|
+ //OutputDebugString("C:낚관;\n");
|
|
|
// 供憐관;
|
|
|
_TaskProcess(pIoContext, (ProPackage*)pSocketContext->lastData.substr(0, phead->len).data());
|
|
|
|
|
@@ -824,7 +824,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- OutputDebugString("D:낚관;\n");
|
|
|
+ //OutputDebugString("D:낚관;\n");
|
|
|
lastlen = pSocketContext->lastData.size() + pIoContext->m_Overlapped.InternalHigh - phead->len;
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf, pIoContext->m_Overlapped.InternalHigh - lastlen);
|
|
|
// 供憐관;
|
|
@@ -837,7 +837,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- OutputDebugString("C:휄꼇璃寧몸관;\n");
|
|
|
+ //OutputDebugString("C:휄꼇璃寧몸관;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf, pIoContext->m_Overlapped.InternalHigh);
|
|
|
}
|
|
|
}
|
|
@@ -848,7 +848,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
// 휄꼇璃寧몸관庫;
|
|
|
if ( diflen > pIoContext->m_Overlapped.InternalHigh )
|
|
|
{
|
|
|
- OutputDebugString("B:휄꼇璃寧몸관庫;\n");
|
|
|
+ //OutputDebugString("B:휄꼇璃寧몸관庫;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf, pIoContext->m_Overlapped.InternalHigh);
|
|
|
}
|
|
|
else
|
|
@@ -860,7 +860,7 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
// 供憐관;
|
|
|
if ( phead->len == PAK_LEN + pIoContext->m_Overlapped.InternalHigh - diflen )
|
|
|
{
|
|
|
- OutputDebugString("B:供憐관;\n");
|
|
|
+ //OutputDebugString("B:供憐관;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf + diflen, pIoContext->m_Overlapped.InternalHigh - diflen);
|
|
|
_TaskProcess(pIoContext, (ProPackage*)pSocketContext->lastData.data());
|
|
|
pSocketContext->lastData.clear();
|
|
@@ -868,13 +868,13 @@ void CIOCPModel::_RecvProcess(PER_SOCKET_CONTEXT* pSocketContext, PER_IO_CONTEXT
|
|
|
// 鬼관;
|
|
|
else if ( phead->len > PAK_LEN + pIoContext->m_Overlapped.InternalHigh - diflen)
|
|
|
{
|
|
|
- OutputDebugString("B:鬼관;\n");
|
|
|
+ //OutputDebugString("B:鬼관;\n");
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf + diflen, pIoContext->m_Overlapped.InternalHigh - diflen);
|
|
|
}
|
|
|
// 낚관;
|
|
|
else if (phead->len < PAK_LEN + pIoContext->m_Overlapped.InternalHigh - diflen)
|
|
|
{
|
|
|
- OutputDebugString("B:낚관;\n");
|
|
|
+ //OutputDebugString("B:낚관;\n");
|
|
|
// 莉供냥관;
|
|
|
pSocketContext->lastData.append(pIoContext->m_wsaBuf.buf + diflen, phead->len - PAK_LEN);
|
|
|
_TaskProcess(pIoContext, (ProPackage*)pSocketContext->lastData.data());
|