📄 tsocket.cpp
字号:
// TSocket.cpp : implementation file
//
#include "stdafx.h"
#include "Terics.h"
#include "TSocket.h"
#include "TericsView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTSocket
CTSocket::CTSocket()
{
}
CTSocket::~CTSocket()
{
}
// Do not edit the following lines, which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CTSocket, CAsyncSocket)
//{{AFX_MSG_MAP(CTSocket)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0
/////////////////////////////////////////////////////////////////////////////
// CTSocket member functions
void CTSocket::OnAccept(int nErrorCode)
{
// TODO: Add your specialized code here and/or call the base class
CAsyncSocket::OnAccept(nErrorCode);
}
void CTSocket::OnConnect(int nErrorCode)
{
// TODO: Add your specialized code here and/or call the base class
CAsyncSocket::OnConnect(nErrorCode);
}
void CTSocket::OnReceive(int nErrorCode)
{
// TODO: Add your specialized code here and/or call the base class
CAsyncSocket::OnReceive(nErrorCode);
}
void CTSocket::SetParent(CTericsView *pWnd)
{
m_pWnd = pWnd;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -