📄 mysocket.cpp
字号:
// mysocket.cpp : implementation file
//
#include "stdafx.h"
#include "client.h"
#include "mysocket.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Cmysocket
#include "clientDlg.h"
Cmysocket::Cmysocket()
{
}
Cmysocket::~Cmysocket()
{
}
// Do not edit the following lines, which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(Cmysocket, CAsyncSocket)
//{{AFX_MSG_MAP(Cmysocket)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0
/////////////////////////////////////////////////////////////////////////////
// Cmysocket member functions
void Cmysocket::SetParent(CDialog *pWnd)
{
m_pWnd=pWnd;
}
void Cmysocket::OnReceive(int nErrorcode)
{
((CClientDlg*)m_pWnd)->OnReceive();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -