📄 ssocket.cpp
字号:
// SSocket.cpp : implementation file
//
#include "stdafx.h"
#include "SerpentGBN.h"
#include "SSocket.h"
#include "SerpentGBNDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSSocket
CSSocket::CSSocket()
{
}
//DEL CSSocket::~CSSocket()
//DEL {
//DEL }
// Do not edit the following lines, which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CSSocket, CAsyncSocket)
//{{AFX_MSG_MAP(CSSocket)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0
/////////////////////////////////////////////////////////////////////////////
// CSSocket member functions
/*void CSSocket::SetParent(CDialog *pWnd)
{
m_pWnd = pWnd;
}
void CSSocket::OnAccept(int nErrorCode)
{
//虚函数重载,对话框中对函数重定义
((CSerpentGBNDlg*)m_pWnd)->OnAccept();
}
void CSSocket::OnReceive(int nErrorCode)
{
//虚函数重载,对话框中对函数重定义
((CSerpentGBNDlg*)m_pWnd)->OnReceive();
}
void CSSocket::OnClose(int nErrorCode)
{
//虚函数重载,对话框中对函数重定义
((CSerpentGBNDlg*)m_pWnd)->OnClose();
}*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -