ssocket.cpp

来自「本人本科的毕业设计。基于Serpent密码的回退N协议的数据传输。希望可供大家参」· C++ 代码 · 共 59 行

CPP
59
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?