//测试数据我发了,但是接收不到有时候~
void CClientSocket::OnReceive(int nErrorCode) 
{
do
{
CMsgPack msg;
msg.Serialize(*m_aSessionIn);
msg.m_pSocket = this;
m_RecvCF(&msg);
}
while(!m_aSessionIn->IsBufferEmpty()); // TODO: Add your specialized code here and/or call the base class CSocket::OnReceive(nErrorCode);
}
大神们帮助帮助我看下