class CDSocket : public CSocket
class CDASocket : public CAsyncSocket
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);
}
UDP void CDASocket::OnReceive(int nErrorCode)
最新推荐文章于 2020-10-23 15:50:45 发布