【VC开源代码栏目提醒】:网学会员VC开源代码为您提供ClientSock.cpp参考,解决您在ClientSock.cpp学习中工作中的难题,参考学习。
// ClientSock.cpp : implementation file
//
#include "stdafx.h"
#include "Server.h"
#include "ClientSock.h"
#include "ServerDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClientSock
CClientSock::CClientSock(CServerDlg* pDlg)
{
m_pDlg= pDlg;
}
CClientSock::~CClientSock()
{
}
// Do not edit the following lines, which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CClientSock, CSocket)
//{{AFX_MSG_MAP(CClientSock)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0
/////////////////////////////////////////////////////////////////////////////
// CClientSock member functions
void CClientSock::OnReceive(int nErrorCode)
{
m_pDlg->OnReceive();
CSocket::OnReceive(nErrorCode);
}
上一篇:
ClientSheetDlg.cpp
下一篇:
中学班主任工作艺术 班主任班级管理论文