📄 proctcpclientthread.h
字号:
#if !defined(AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_)
#define AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProcTcpClientThread.h : header file
//
#include <afxmt.h>
#include <afxsock.h>
#include "IvrServerDoc.h"
#include "OPERATIONGATEWAY.H"
/////////////////////////////////////////////////////////////////////////////
// CProcTcpClientThread thread
class CProcTcpClientThread : public CWinThread
{
DECLARE_DYNCREATE(CProcTcpClientThread)
protected:
CProcTcpClientThread(); // protected constructor used by dynamic creation
// Attributes
public:
int RemoteClientSocket;
//bool iExit;
CEvent StopEvent;
char cIp[IP_LEN];
char cThreadid[50];
class CIvrServerDoc *m_pDoc;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProcTcpClientThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual int Run();
//}}AFX_VIRTUAL
// Implementation
protected:
int OnSelectSocket();
virtual ~CProcTcpClientThread();
// Generated message map functions
//{{AFX_MSG(CProcTcpClientThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -