帮我看看 最后的 class CAsyncSocket::OnReceive(nErrorCode);函数的作用是什么?他和CDASocket::OnReceive(int nErrorCode) 是同一个函数吗 ?
void CDASocket::OnReceive(int nErrorCode)
{
// TODO: Add your specialized code here and/or call the base
char buff[256];
int ret=0;
ret=Receive(buff,256);
if(ret==ERROR)
{
TRACE("ERROR!");
}
else
m_pDoc->Presscessding(buff);
class CAsyncSocket::OnReceive(nErrorCode);
}
[讨论]如何重载OnReceive(nErrorCode)函数